about summary refs log tree commit diff
path: root/app/views/admin/invites/index.html.haml
blob: 52a748fe0e880db18cff21bb3120a448781bfb22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- 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