summaryrefslogtreecommitdiff
path: root/app/views/invite_codes/_invite_code.html.haml
blob: a167432d0de763a8c0959388db7747aab1f59f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
%tr
  %td
    = simple_date(invite_code.updated_at)
  %td
    = simple_date(invite_code.created_at)
  %td
    %input.invite-code{:value => invite_code.invite_code}
  %td
    = "#{invite_code.invite_count}/#{invite_code.max_uses}"
  %td
    = btn t(".destroy", cascade: true), invite_code_path(invite_code), :method => 'delete'