From a47d76958c36f365893c01a62561c54856765ba8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 4 Mar 2019 19:28:57 +0100 Subject: [PATCH] Use proper Mojolicious input fields (-> no need to re-type everything on errors) --- templates/login.html.ep | 4 ++-- templates/register.html.ep | 8 ++++---- 2 files changed, 6 insertions(+), 6 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 @@
account_circle - + %= text_field 'user', id => 'user', class => 'validate'
lock - + %= password_field 'password', id => 'password', class => 'validate'
diff --git a/templates/register.html.ep b/templates/register.html.ep index 0e43e4d..2a421bb 100644 --- a/templates/register.html.ep +++ b/templates/register.html.ep @@ -29,22 +29,22 @@
account_circle - + %= text_field 'user', id => 'account', class => 'validate'
email - + %= email_field 'email', id => 'email', class => 'validate'
lock - + %= password_field 'password', id => 'password', class => 'validate'
lock - + %= password_field 'password2', id => 'password2', class => 'validate'