5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-30 04:16:21 +00:00
panel/app/views/devise/unlocks/new.haml
2021-05-09 13:02:09 -03:00

23 lines
775 B
Text

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