5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 05:21:42 +00:00
panel/app/views/devise/invitations/edit.haml

17 lines
804 B
Text
Raw Normal View History

2019-07-05 23:55:59 +00:00
.row.align-items-center.justify-content-center.full-height
.col-md-6.align-self-center
%h2= t 'devise.invitations.edit.header'
= form_for(resource, as: resource_name, url: invitation_path(resource_name), html: { method: :put }) do |f|
= render 'devise/shared/error_messages', resource: resource
= f.hidden_field :invitation_token, readonly: true
- if f.object.class.require_password_on_accepting
.form-group
= f.label :password
= f.password_field :password, class: 'form-control'
.form-group
= f.label :password_confirmation
= f.password_field :password_confirmation, class: 'form-control'
.actions
= f.submit t('devise.invitations.edit.submit_button'),
class: 'btn btn-lg btn-primary btn-block'