summaryrefslogtreecommitdiff
path: root/users/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-12 19:16:19 +0100
committerAzul <azul@leap.se>2012-11-12 19:16:19 +0100
commit05ea71016fd54a14159c72299c25efbdc2f177bc (patch)
tree00fe65cfe0f5d7e09778cf7e6bef304dd16f35c9 /users/app
parent67dc2685a72c125b53f351c3a75bf812123e96bd (diff)
adding client side validations to the mix
Diffstat (limited to 'users/app')
-rw-r--r--users/app/views/users/new.html.haml2
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 }