glitchier-soc/app/views/admin/accounts/index.html.haml
2016-12-03 19:08:07 +01:00

19 lines
413 B
Text

%table.table
%thead
%tr
%th Username
%th Domain
%th Subscribed
%tbody
- @accounts.each do |account|
%tr
%td= account.username
%td= account.domain
%th
- if account.local?
Local
- elsif account.subscribed?
%i.fa.fa-check
- else
%i.fa.fa-times
= will_paginate @accounts, pagination_options