app/views/devise_haml/passwords/new.html.haml in devise-foundation-views-0.1.0 vs app/views/devise_haml/passwords/new.html.haml in devise-foundation-views-0.1.1
- old
+ new
@@ -1,13 +1,14 @@
= 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 => :post}) do |f|
- .row
- %h5.text-center= t('.forgot_your_password', :default => 'Forgot your password?')
- .row
- = f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"
- .row
- = f.submit t('.send_me_reset_password_instructions', :default => "Send me reset password instructions"), 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 => :post}) do |f|
+ .row
+ %h5.text-center= t('.forgot_your_password', :default => 'Forgot your password?')
+ .row
+ = f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"
+ .row
+ = f.submit t('.send_me_reset_password_instructions', :default => "Send me reset password instructions"), class: "button expand large-12 large-centered columns"
+ = render "devise/shared/links"