2017-11-28 00:07:59 +09:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('invites.title')
|
|
|
|
|
|
|
|
- if policy(:invite).create?
|
|
|
|
%p= t('invites.prompt')
|
|
|
|
|
|
|
|
= render 'form'
|
|
|
|
|
2018-09-18 23:45:58 +09:00
|
|
|
%hr.spacer/
|
2017-11-28 00:07:59 +09:00
|
|
|
|
2019-03-14 13:25:49 +09:00
|
|
|
.simple_form
|
|
|
|
%table.table.table--invites
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th
|
|
|
|
%th= t('invites.table.uses')
|
|
|
|
%th= t('invites.table.expires_at')
|
2019-08-19 18:40:42 +09:00
|
|
|
%th= t('invites.table.comment')
|
2019-03-14 13:25:49 +09:00
|
|
|
%th
|
|
|
|
%tbody
|
|
|
|
= render @invites
|