5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 20:26:22 +00:00
panel/app/views/usuaries/invite.haml

17 lines
615 B
Text
Raw Normal View History

2019-07-05 23:55:59 +00:00
- invite_as = t("usuaries.invite_as.#{params[:invite_as]}")
2019-09-04 16:50:27 +00:00
.row.justify-content-center
2023-04-20 21:23:58 +00:00
.col.col-lg-8
2019-07-05 23:55:59 +00:00
%h1= t('.title', invite_as: invite_as)
= form_with url: site_usuaries_invite_path(@site), local: true do |f|
= f.hidden_field :invited_as, value: params[:invite_as].singularize
2019-07-05 23:55:59 +00:00
.form-group
= f.label :invitaciones do
= t('.invitaciones')
%small.text-muted.form-text= t('.help.invitaciones',
invite_as: invite_as)
= f.text_area :invitaciones, class: 'form-control'
.form-group
= f.submit t('.submit'), class: 'btn btn-secondary'