From 41fcc5bd06bf312645be7e53141971ebf423ff0d 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 bfb45151b..5d8a89491 100644 --- a/app/views/devise/registrations/edit.html.haml +++ b/app/views/devise/registrations/edit.html.haml @@ -25,22 +25,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'