2017-11-27 10:07:59 -05:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('invites.title')
|
|
|
|
|
|
|
|
- if policy(:invite).create?
|
|
|
|
%p= t('invites.prompt')
|
|
|
|
|
|
|
|
= render 'form'
|
|
|
|
|
2018-09-18 10:45:58 -04:00
|
|
|
%hr.spacer/
|
2017-11-27 10:07:59 -05:00
|
|
|
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th= t('invites.table.uses')
|
|
|
|
%th= t('invites.table.expires_at')
|
|
|
|
%th
|
|
|
|
%th
|
|
|
|
%tbody
|
|
|
|
= render @invites
|