BootInputBlock + captcha

Issue #1 resolved
Anonymous created an issue

I just added this lines of code to BootInputBlock at line 94 to support captcha fields:



case 'captcha': $widget = $this->widget('CCaptcha', $this->data, true); $input = $widget.$this->form->textField($this->model, $this->attribute, $this->htmlOptions); break;


use like:



<?php echo $form->inputBlock('captcha', $model,'verifyCode', array(), array('class'=>'xlarge')); ?> }}}

where data in this case would be the CCpatcha widget configuration

@Alex Urbano

Comments (2)

  1. Log in to comment