Fixes #1643: Added default value for Captcha::options
This commit is contained in:
parent
9aafc457dc
commit
5aff78d47a
@ -34,7 +34,6 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
<?= $form->field($model, 'subject') ?>
|
||||
<?= $form->field($model, 'body')->textArea(['rows' => 6]) ?>
|
||||
<?= $form->field($model, 'verifyCode')->widget(Captcha::className(), [
|
||||
'options' => ['class' => 'form-control'],
|
||||
'template' => '<div class="row"><div class="col-lg-3">{image}</div><div class="col-lg-6">{input}</div></div>',
|
||||
]) ?>
|
||||
<div class="form-group">
|
||||
|
Loading…
Reference in New Issue
Block a user