Gab Social. All are welcome.
This commit is contained in:
20
app/views/invites/index.html.haml
Normal file
20
app/views/invites/index.html.haml
Normal file
@@ -0,0 +1,20 @@
|
||||
- content_for :page_title do
|
||||
= t('invites.title')
|
||||
|
||||
- if policy(:invite).create?
|
||||
%p= t('invites.prompt')
|
||||
|
||||
= render 'form'
|
||||
|
||||
%hr.spacer/
|
||||
|
||||
.simple_form
|
||||
%table.table.table--invites
|
||||
%thead
|
||||
%tr
|
||||
%th
|
||||
%th= t('invites.table.uses')
|
||||
%th= t('invites.table.expires_at')
|
||||
%th
|
||||
%tbody
|
||||
= render @invites
|
||||
Reference in New Issue
Block a user