summaryrefslogtreecommitdiff
path: root/app/views/invite_codes/_invite_code.html.haml
blob: a3c420d26abc3b3acd81e89adcb7074e935e8240 (plain)
1
2
3
4
5
6
7
8
9
%tr
  %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'