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
|
2023-04-20 21:23:58 +00:00
|
|
|
.col-12.col-lg-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'
|