Skip to content

Commit 1d283a4

Browse files
author
Bizley
authored
Fix #256: Fix error message in login form (#257)
1 parent f878dd9 commit 1d283a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

views/site/login.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
'id' => 'login-form',
2020
'layout' => 'horizontal',
2121
'fieldConfig' => [
22-
'template' => "{label}\n<div class=\"col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
23-
'labelOptions' => ['class' => 'col-lg-1 col-form-label'],
22+
'template' => "{label}\n{input}\n{error}",
23+
'labelOptions' => ['class' => 'col-lg-1 col-form-label mr-lg-3'],
24+
'inputOptions' => ['class' => 'col-lg-3 form-control'],
25+
'errorOptions' => ['class' => 'col-lg-7 invalid-feedback'],
2426
],
2527
]); ?>
2628

0 commit comments

Comments
 (0)