about summary refs log tree commit diff
path: root/app/views/invites/index.html.haml
blob: f4c5047fa0670fba9ba404275d30c559a526dff1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- content_for :page_title do
  = t('invites.title')

- if policy(:invite).create?
  %p= t('invites.prompt')

  = render 'form'

  %hr/

%table.table
  %thead
    %tr
      %th= t('invites.table.uses')
      %th= t('invites.table.expires_at')
      %th
      %th
  %tbody
    = render @invites