From b1ddc9950a0da4579706773cfc4b7baac1d908a2 Mon Sep 17 00:00:00 2001 From: Rueshyna Date: Fri, 30 Nov 2012 16:32:06 +0800 Subject: [PATCH] adjust update password textfield position --- app/views/devise/registrations/edit.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index b5968fca6..8fcee21ac 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -2,13 +2,13 @@ <%= form_for(resource, :as => resource_name, :url => users_passwd_path(resource_name), :html => { :method => :put, "form-type"=>"ajax_form" }) do |f| %>
<%= f.submit "Update" %>
+
<%= f.label :current_password %> + <%= f.password_field :current_password %>
+
<%= f.label :password %> <%= f.password_field :password %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
-
<%= f.label :current_password %> - <%= f.password_field :current_password %>
- <% end %>