diff --git a/templates/register.html.ep b/templates/register.html.ep index 3e69239..48afddf 100644 --- a/templates/register.html.ep +++ b/templates/register.html.ep @@ -60,22 +60,22 @@
account_circle - %= text_field 'user', id => 'account', class => 'validate' + %= text_field 'user', id => 'account', class => 'validate', required => undef, pattern => '[0-9a-zA-Z_-]+', maxlength => 60
email - %= email_field 'email', id => 'email', class => 'validate' + %= email_field 'email', id => 'email', class => 'validate', required => undef, maxlength => 250
lock - %= password_field 'password', id => 'password', class => 'validate' + %= password_field 'password', id => 'password', class => 'validate', required => undef, minlength => 8
lock - %= password_field 'password2', id => 'password2', class => 'validate' + %= password_field 'password2', id => 'password2', class => 'validate', required => undef, minlength => 8