mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
23 lines
338 B
Plaintext
23 lines
338 B
Plaintext
|
- content_for :page_title do
|
||
|
= t('admin.invites.title')
|
||
|
|
||
|
- if policy(:invite).create?
|
||
|
%p= t('invites.prompt')
|
||
|
|
||
|
= render 'invites/form'
|
||
|
|
||
|
%hr/
|
||
|
|
||
|
%table.table
|
||
|
%thead
|
||
|
%tr
|
||
|
%th
|
||
|
%th= t('invites.table.uses')
|
||
|
%th= t('invites.table.expires_at')
|
||
|
%th
|
||
|
%th
|
||
|
%tbody
|
||
|
= render @invites
|
||
|
|
||
|
= paginate @invites
|