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 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