5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-30 04:26:21 +00:00
panel/app/views/devise/invitations/new.haml

19 lines
642 B
Text
Raw Normal View History

2019-09-11 19:29:05 +00:00
= content_for :body do
- 'black-bg'
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
= render 'devise/shared/error_messages', resource: resource
- 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'