summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2012-11-19 13:33:23 -0800
committerjessib <jessib@leap.se>2012-11-19 13:33:23 -0800
commit347eb4b20cbe740485dd9d1d7220c01eef659920 (patch)
treeb004aaede235d7c6d2bbd63b8bed5f42d2bce290 /users/app/views
parent341da14b031c3c27e687c82f479624217c1dbddd (diff)
parent172317b35d9c7ae26a6bf4836feace7b509644a6 (diff)
Merge branch 'develop' into help_develop
Conflicts: app/assets/javascripts/application.js ui_dependencies.rb
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