From d800747365bbb3a0923bd5a9659522373713fd43 Mon Sep 17 00:00:00 2001 From: Gnat Date: Fri, 8 Feb 2013 01:43:23 +0000 Subject: [PATCH] Attempted rearranging settings page, broke something --- app/views/devise/registrations/edit.html.haml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/devise/registrations/edit.html.haml b/app/views/devise/registrations/edit.html.haml index 05450c0b1..96ca62c8d 100644 --- a/app/views/devise/registrations/edit.html.haml +++ b/app/views/devise/registrations/edit.html.haml @@ -17,22 +17,22 @@ Show email publicly on your profile page %h2 Change password - - .control-group - = f.label :password, :class => 'control-label' - .controls - = f.password_field :password, :autocomplete => "off" - %span.help-inline Leave blank if you don't want to change your password - - .control-group - = f.label :password_confirmation, :class => 'control-label' - .controls= f.password_field :password_confirmation + %span.help-inline Leave blank if you don't want to change your password .control-group = f.label :current_password, :class => 'control-label' .controls = f.password_field :current_password + .control-group + = f.label :password, "New password", :class => 'control-label' + .controls + = f.password_field :password, :autocomplete => "off" + + .control-group + = f.label :password_confirmation, :class => 'control-label' + .controls= f.password_field :password_confirmation + .form-actions = f.submit "Update", :class => 'btn'