summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-26 10:59:50 +0100
committerAzul <azul@leap.se>2012-11-26 10:59:50 +0100
commitce0999ead0d61db1f6534ee9d8114c4551542e80 (patch)
tree40600388d20ecda99a23ec89c15ee715450ff824 /users/app/views
parent76a3b91ad78d12ef82a0c01ca702720a510f1e22 (diff)
minor: client side validations fixed + .json request
Diffstat (limited to 'users/app/views')
-rw-r--r--users/app/views/users/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/views/users/_form.html.haml b/users/app/views/users/_form.html.haml
index d26d17d..fc835af 100644
--- a/users/app/views/users/_form.html.haml
+++ b/users/app/views/users/_form.html.haml
@@ -1,5 +1,5 @@
- html = {:class => 'form-horizontal user form ' + (@user.new_record? ? 'new' : 'edit')}
-= simple_form_for @user, :validate => true, :html => html do |f|
+= simple_form_for @user, :validate => true, :format => :json, :html => html do |f|
%legend
= @user.new_record? ? t(:signup_message) : t(:edit_settings)
= f.input :login, :input_html => { :id => :srp_username }