'login-form']); ?>
- = $form->field($model, 'username')->textInput(['autofocus' => true]) ?>
-
- = $form->field($model, 'password')->passwordInput() ?>
-
- = $form->field($model, 'rememberMe')->checkbox() ?>
+ = $form->field($model, 'username', [
+ 'options' => [
+ 'class' => 'input-field'
+ ]
+ ])->textInput(['autofocus' => true]) ?>
+
+ = $form->field($model, 'password',[
+ 'options' => [
+ 'class' => 'input-field'
+ ]
+ ])->passwordInput() ?>
+
+ = $form->field($model, 'rememberMe', [
+ 'template' => '
{input}{label}
{error}'
+ ])->checkbox([], false) ?>
If you forgot your password you can = Html::a('reset it', ['site/request-password-reset']) ?>.
diff --git a/frontend/web/css/site.css b/frontend/web/css/site.css
index 5f1e6b9..129278c 100644
--- a/frontend/web/css/site.css
+++ b/frontend/web/css/site.css
@@ -101,9 +101,9 @@ a.desc:after {
border: none;
}
-@media(max-width:767px) {
+@media (max-width: 767px) {
.nav li > form > button.logout {
- display:block;
+ display: block;
text-align: left;
width: 100%;
padding: 10px 15px;
@@ -118,3 +118,8 @@ a.desc:after {
.nav > li > form > button.logout:focus {
outline: none;
}
+
+.button-collapse {
+ margin-left: 20px;
+ margin-top: 20px;
+}
\ No newline at end of file
--
libgit2 0.21.4