sutty/app/views/devise/passwords/new.haml

14 lines
613 B
Text
Raw Normal View History

2019-07-04 00:11:33 +00:00
.row.align-items-center.justify-content-center.full-height
.col-md-6.align-self-center
%h2= t('.forgot_your_password')
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
= render 'devise/shared/error_messages', resource: resource
.form-group
= f.label :email
= f.email_field :email, autofocus: true, autocomplete: 'email',
class: 'form-control'
.actions
= f.submit t('.send_me_reset_password_instructions'),
class: 'btn btn-lg btn-primary btn-block'
= render 'devise/shared/links'