diff options
author | Azul <azul@leap.se> | 2012-11-12 19:16:19 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-11-12 19:16:19 +0100 |
commit | 05ea71016fd54a14159c72299c25efbdc2f177bc (patch) | |
tree | 00fe65cfe0f5d7e09778cf7e6bef304dd16f35c9 /users/app | |
parent | 67dc2685a72c125b53f351c3a75bf812123e96bd (diff) |
adding client side validations to the mix
Diffstat (limited to 'users/app')
-rw-r--r-- | users/app/views/users/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/views/users/new.html.haml b/users/app/views/users/new.html.haml index 835e99a..3e7d06d 100644 --- a/users/app/views/users/new.html.haml +++ b/users/app/views/users/new.html.haml @@ -1,6 +1,6 @@ .span8.offset2 %h2=t :signup - = simple_form_for @user, :html => {:class => 'form-horizontal'} do |f| + = simple_form_for @user, :validate => true, :html => {:class => 'form-horizontal'} do |f| %legend=t :signup_message = f.input :login, :input_html => { :id => :srp_username } = f.input :password, :required => true, :input_html => { :id => :srp_password } |