5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:51:43 +00:00
panel/app/views/devise/passwords/new.haml

24 lines
780 B
Text
Raw Normal View History

2019-09-11 19:29:05 +00:00
= content_for :body do
- 'black-bg'
2019-07-04 00:11:33 +00:00
.row.align-items-center.justify-content-center.full-height
2019-09-11 19:29:05 +00:00
.col-md-5.align-self-center
.sr-only
%h2= t('.forgot_your_password')
%p= t('.help')
= form_for(resource,
as: resource_name,
url: password_path(resource_name),
html: { method: :post }) do |f|
2019-07-04 00:11:33 +00:00
= render 'devise/shared/error_messages', resource: resource
.form-group
2019-09-11 19:29:05 +00:00
= f.label :email, class: 'sr-only'
2019-07-04 00:11:33 +00:00
= f.email_field :email, autofocus: true, autocomplete: 'email',
2019-09-11 19:29:05 +00:00
class: 'form-control',
placeholder: t('activerecord.attributes.usuarie.email')
2019-07-04 00:11:33 +00:00
.actions
= f.submit t('.send_me_reset_password_instructions'),
2019-09-11 19:29:05 +00:00
class: 'btn btn-lg btn-block'
2019-07-04 00:11:33 +00:00
= render 'devise/shared/links'