summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-18 09:15:03 +0100
committerAzul <azul@leap.se>2012-11-18 09:15:03 +0100
commit66e5f9d639a34df1912f7562223fa65d29183d96 (patch)
tree8249f6cd14e1ba859fd63a35f9f24456cb307d13 /users/app/views
parentb9fb554ca4cb45233bd1323047b357f649bd495b (diff)
parent6ba3366f778340ebeaa73fd53372368b16de6c98 (diff)
Merge branch 'feature-client-side-validations' into develop
Diffstat (limited to 'users/app/views')
-rw-r--r--users/app/views/users/new.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/app/views/users/new.html.haml b/users/app/views/users/new.html.haml
index 835e99a..be14c52 100644
--- a/users/app/views/users/new.html.haml
+++ b/users/app/views/users/new.html.haml
@@ -1,9 +1,9 @@
.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 }
+ = f.input :password, :required => true, :validate => true, :input_html => { :id => :srp_password }
= f.input :password_confirmation, :required => true, :input_html => { :id => :srp_password_confirmation }
= f.button :submit, :value => t(:signup), :class => 'btn-primary'
= link_to t(:cancel), root_url, :class => :btn