index.html.haml 346 B

1234567891011121314151617181920
  1. - content_for :page_title do
  2. = t('invites.title')
  3. - if policy(:invite).create?
  4. %p= t('invites.prompt')
  5. = render 'form'
  6. %hr.spacer/
  7. .simple_form
  8. %table.table.table--invites
  9. %thead
  10. %tr
  11. %th
  12. %th= t('invites.table.uses')
  13. %th= t('invites.table.expires_at')
  14. %th
  15. %tbody
  16. = render @invites