diff options
author | Azul <azul@leap.se> | 2012-11-26 12:16:53 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-11-26 12:16:53 +0100 |
commit | 1ea7da1314a46a87512e4f3d7f99249883f4f12f (patch) | |
tree | ab07f2e702b5f5eee9638ef751669f88298faad2 /users/app/views | |
parent | 716dc248e940be8bd323a9d92f98785737fc99a0 (diff) | |
parent | cdda8f095d49cdda94c3527ecb92cb15c300327b (diff) |
Merge branch 'feature/users-change-passwords' into develop
Diffstat (limited to 'users/app/views')
-rw-r--r-- | users/app/views/users/_form.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/users/app/views/users/_form.html.haml b/users/app/views/users/_form.html.haml index 8914241..fc835af 100644 --- a/users/app/views/users/_form.html.haml +++ b/users/app/views/users/_form.html.haml @@ -1,4 +1,5 @@ -= simple_form_for @user, :validate => true, :html => {:class => 'form-horizontal'} do |f| +- html = {:class => 'form-horizontal user form ' + (@user.new_record? ? 'new' : 'edit')} += 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 } |