Merge pull request #6 from bluezed/patch-1
Fixes #5: checkbox template wasn't applied
This commit is contained in:
commit
e2f177d360
@ -27,9 +27,9 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
|
|
||||||
<?= $form->field($model, 'password')->passwordInput() ?>
|
<?= $form->field($model, 'password')->passwordInput() ?>
|
||||||
|
|
||||||
<?= $form->field($model, 'rememberMe', [
|
<?= $form->field($model, 'rememberMe')->checkbox([
|
||||||
'template' => "<div class=\"col-lg-offset-1 col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
|
'template' => "<div class=\"col-lg-offset-1 col-lg-3\">{input} {label}</div>\n<div class=\"col-lg-8\">{error}</div>",
|
||||||
])->checkbox() ?>
|
]) ?>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-lg-offset-1 col-lg-11">
|
<div class="col-lg-offset-1 col-lg-11">
|
||||||
|
Loading…
Reference in New Issue
Block a user