0
0
Fork 0

Admin accounts page lists accounts

This commit is contained in:
Eugen Rochko 2016-12-03 19:08:07 +01:00
parent 816284d739
commit ec44cff9a2
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,19 @@
%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