index.html.haml 429 B

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