mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 22:56:21 +00:00
24 lines
790 B
Text
24 lines
790 B
Text
- invite_as = t("usuaries.invite_as.#{params[:invite_as]}")
|
|
|
|
= render 'layouts/breadcrumb',
|
|
crumbs: [link_to(t('sites.index.title'), sites_path),
|
|
@site.name,
|
|
link_to(t('posts.index'), site_usuaries_path(@site)),
|
|
t('.title', invite_as: invite_as)]
|
|
|
|
.row
|
|
.col
|
|
%h1= t('.title', invite_as: invite_as)
|
|
|
|
.row
|
|
.col
|
|
= form_with url: site_usuaries_invite_path(@site) do |f|
|
|
= f.hidden_field :invited_as, value: params[:invite_as].singularize
|
|
.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'
|