app/views/devise_haml/passwords/edit.html.haml in devise-foundation-views-0.1.0 vs app/views/devise_haml/passwords/edit.html.haml in devise-foundation-views-0.1.1
- old
+ new
@@ -1,16 +1,17 @@
= foundation_devise_error_messages!
-.large-3.large-centered.columns
- .login-box
- .row
- .large-12.columns
- = form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put}) do |f|
- = f.hidden_field :reset_password_token
- .row
- %h5.text-center= t('.change_your_password', :default => 'Change your password')
- .row
- = f.password_field :password, autocomplete: "off", class: "large-12 columns", placeholder: "New Password"
- .row
- = f.password_field :password_confirmation, autocomplete: "off", class: "large-12 columns", placeholder: "Confirm New Password"
- .row
- = f.submit t('.change_my_password', :default => 'Change my password'), class: "button expand large-12 large-centered columns"
- = render "devise/shared/links"
+.row
+ .medium-6.medium-centered.columns
+ .login-box
+ .row
+ .large-12.columns
+ = form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put}) do |f|
+ = f.hidden_field :reset_password_token
+ .row
+ %h5.text-center= t('.change_your_password', :default => 'Change your password')
+ .row
+ = f.password_field :password, autocomplete: "off", class: "large-12 columns", placeholder: "New Password"
+ .row
+ = f.password_field :password_confirmation, autocomplete: "off", class: "large-12 columns", placeholder: "Confirm New Password"
+ .row
+ = f.submit t('.change_my_password', :default => 'Change my password'), class: "button expand large-12 large-centered columns"
+ = render "devise/shared/links"