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/register.html.ep | 72 ++++++++++++++++++++++------------------------ 1 file changed, 35 insertions(+), 37 deletions(-) (limited to 'templates/register.html.ep') diff --git a/templates/register.html.ep b/templates/register.html.ep index 5dbd599..3ac733a 100644 --- a/templates/register.html.ep +++ b/templates/register.html.ep @@ -58,45 +58,43 @@ % } -
- %= form_for '/register' => (class => 'col s12', method => 'POST') => begin - %= csrf_field -
-
- account_circle - %= text_field 'user', id => 'account', class => 'validate', required => undef, pattern => '[0-9a-zA-Z_-]+', maxlength => 60, autocomplete => 'username' - -
-
- email - %= email_field 'email', id => 'email', class => 'validate', required => undef, maxlength => 250 - -
-
- lock - %= password_field 'password', id => 'password', class => 'validate', required => undef, minlength => 8, autocomplete => 'new-password' - -
-
- lock - %= password_field 'password2', id => 'password2', class => 'validate', required => undef, minlength => 8, autocomplete => 'new-password' - -
+%= form_for '/register' => (method => 'POST') => begin + %= csrf_field +
+
+ account_circle + %= text_field 'user', id => 'account', class => 'validate', required => undef, pattern => '[0-9a-zA-Z_-]+', maxlength => 60, autocomplete => 'username' +
-
-
-
-
- -
-
-
+
+ email + %= email_field 'email', id => 'email', class => 'validate', required => undef, maxlength => 250 +
- %= end -
+
+ lock + %= password_field 'password', id => 'password', class => 'validate', required => undef, minlength => 8, autocomplete => 'new-password' + +
+
+ lock + %= password_field 'password2', id => 'password2', class => 'validate', required => undef, minlength => 8, autocomplete => 'new-password' + +
+
+
+
+
+
+ +
+
+
+
+%= end

-- cgit v1.2.3