From 68718860e29f5ce1c2c10afc99c0bfeb9943d6d6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 2 Apr 2019 19:40:04 +0200 Subject: login, register; Do not doule-nest row/col classes --- templates/login.html.ep | 58 ++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 30 deletions(-) (limited to 'templates/login.html.ep') diff --git a/templates/login.html.ep b/templates/login.html.ep index 8c9ad7d..58ff0ed 100644 --- a/templates/login.html.ep +++ b/templates/login.html.ep @@ -73,35 +73,33 @@ % } -
- %= form_for '/login' => (class => 'col s12', method => 'POST') => begin - %= csrf_field - % if (stash('redirect_to')) { - %= hidden_field 'redirect_to' => stash('redirect_to') - % } -
-
- account_circle - %= text_field 'user', id => 'user', class => 'validate', required => undef, maxlength => 60, autocomplete => 'username' - -
-
- lock - %= password_field 'password', id => 'password', class => 'validate', required => undef, autocomplete => 'current-password' - -
+%= form_for '/login' => (method => 'POST') => begin + %= csrf_field + % if (stash('redirect_to')) { + %= hidden_field 'redirect_to' => stash('redirect_to') + % } +
+
+ account_circle + %= text_field 'user', id => 'user', class => 'validate', required => undef, maxlength => 60, autocomplete => 'username' +
-
-
-
-
- -
-
-
+
+ lock + %= password_field 'password', id => 'password', class => 'validate', required => undef, autocomplete => 'current-password' +
- %= end -
+
+
+
+
+
+ +
+
+
+
+%= end -- cgit v1.2.3