This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
2016-12-03 13:08:07 -05:00
|
|
|
%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
|
2016-12-03 13:30:13 -05:00
|
|
|
|
2016-12-03 13:08:07 -05:00
|
|
|
= will_paginate @accounts, pagination_options
|