summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-07 12:30:15 +0100
committerAzul <azul@leap.se>2012-12-07 12:30:15 +0100
commita2d343619e752f62cb7e3445803e4491696af391 (patch)
treed479b9a11d69d2d4098b4e67058eb11f8ff34b32 /users/app/views
parentaf101adb7c66201e175642ff0ef99988b42d2df2 (diff)
using normal requests for user updates except password
password requires ajax for secure remote password to work
Diffstat (limited to 'users/app/views')
-rw-r--r--users/app/views/users/edit.html.haml8
-rw-r--r--users/app/views/users/new.html.haml2
2 files changed, 5 insertions, 5 deletions
diff --git a/users/app/views/users/edit.html.haml b/users/app/views/users/edit.html.haml
index 4192959..b33c19b 100644
--- a/users/app/views/users/edit.html.haml
+++ b/users/app/views/users/edit.html.haml
@@ -8,9 +8,9 @@
.tab-content
.tab-pane.active#account
- = user_form_with 'login_field', :change_login
- = user_form_with 'password_fields', :change_password
+ = user_form_with 'login_field', :legend => :change_login
+ = user_form_with 'password_fields', :legend => :change_password
= render 'cancel_account' if @user == current_user
.tab-pane#email
- = user_form_with 'email_field', :set_email_address
- = user_form_with 'email_forward_field', :forward_email
+ = user_form_with 'email_field', :legend => :set_email_address
+ = user_form_with 'email_forward_field', :legend => :forward_email
diff --git a/users/app/views/users/new.html.haml b/users/app/views/users/new.html.haml
index 81588b1..1814847 100644
--- a/users/app/views/users/new.html.haml
+++ b/users/app/views/users/new.html.haml
@@ -1,3 +1,3 @@
.span8.offset2
%h2=t :signup
- = user_form_with 'signup', :signup_message, :with_cancel => true
+ = user_form_with 'signup', :legend => :signup_message, :with_cancel => true