2017-11-27 15:07:59 +00:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('invites.title')
|
|
|
|
|
|
|
|
- if policy(:invite).create?
|
|
|
|
%p= t('invites.prompt')
|
|
|
|
|
2023-09-28 13:40:28 +00:00
|
|
|
= simple_form_for(@invite, url: invites_path) do |form|
|
|
|
|
= render partial: 'form', object: form
|
2017-11-27 15:07:59 +00:00
|
|
|
|
2018-09-18 14:45:58 +00:00
|
|
|
%hr.spacer/
|
2017-11-27 15:07:59 +00:00
|
|
|
|
2019-03-14 04:25:49 +00:00
|
|
|
.simple_form
|
|
|
|
%table.table.table--invites
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th
|
|
|
|
%th= t('invites.table.uses')
|
|
|
|
%th= t('invites.table.expires_at')
|
|
|
|
%th
|
|
|
|
%tbody
|
|
|
|
= render @invites
|