5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 20:46:22 +00:00
panel/app/views/devise/invitations/new.haml

20 lines
637 B
Text
Raw Normal View History

2019-09-11 19:29:05 +00:00
= content_for :body do
- 'black-bg'
2023-03-28 22:18:11 +00:00
= render 'devise/shared/error_messages', resource: resource
2019-07-05 23:55:59 +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
2019-07-05 23:55:59 +00:00
%h2= t 'devise.invitations.new.header'
2019-09-11 19:29:05 +00:00
= form_for(resource,
as: resource_name,
url: invitation_path(resource_name),
html: { method: :post }) do |f|
2019-07-05 23:55:59 +00:00
- resource.class.invite_key_fields.each do |field|
.form-group
= f.label field
= f.text_field field, class: 'form-control'
.actions
= f.submit t('devise.invitations.new.submit_button'),
2019-09-11 19:29:05 +00:00
class: 'btn btn-lg btn-block'