diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-04 19:28:57 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-04 19:28:57 +0100 |
commit | a47d76958c36f365893c01a62561c54856765ba8 (patch) | |
tree | 8a01284cbe1675ed5c23cd3922ed791c82e53dd9 /templates/login.html.ep | |
parent | 5b523ff2f01f2e185fcb67d6bb49cb95ffd3f654 (diff) |
Use proper Mojolicious input fields (-> no need to re-type everything on errors)
Diffstat (limited to 'templates/login.html.ep')
-rw-r--r-- | templates/login.html.ep | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/login.html.ep b/templates/login.html.ep index 3ef8dbc..1acff00 100644 --- a/templates/login.html.ep +++ b/templates/login.html.ep @@ -45,12 +45,12 @@ <div class="row"> <div class="input-field col s12"> <i class="material-icons prefix">account_circle</i> - <input name="user" id="user" type="text" class="validate"> + %= text_field 'user', id => 'user', class => 'validate' <label for="user">Account</label> </div> <div class="input-field col s12"> <i class="material-icons prefix">lock</i> - <input name="password" id="password" type="password" class="validate"> + %= password_field 'password', id => 'password', class => 'validate' <label for="password">Passwort</label> </div> </div> |