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