~cytrogen/masto-fe

ref: e6b903b21e0682c1156ffec583ac2836fda7d657 masto-fe/app/views/invites/index.html.haml -rw-r--r-- 429 bytes
e6b903b2 — Matt Jankowski Fix haml-lint `InstanceVariables` rule for invites/_form (#26064) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- content_for :page_title do
  = t('invites.title')

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

  = simple_form_for(@invite, url: invites_path) do |form|
    = render partial: 'form', object: 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