From 8ed0dfbdeb46f16b13e35fb76e5fd832ee8ad35a Mon Sep 17 00:00:00 2001 From: BlueZED Date: Wed, 22 Apr 2015 10:06:08 +0200 Subject: [PATCH] Fix for issue #5 Apply the template to the checkbox, not the field. --- views/site/login.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/site/login.php b/views/site/login.php index 916be98..bca488c 100644 --- a/views/site/login.php +++ b/views/site/login.php @@ -27,9 +27,9 @@ $this->params['breadcrumbs'][] = $this->title; field($model, 'password')->passwordInput() ?> - field($model, 'rememberMe', [ - 'template' => "
{input}
\n
{error}
", - ])->checkbox() ?> + field($model, 'rememberMe')->checkbox([ + 'template' => "
{input} {label}
\n
{error}
", + ]) ?>