diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-04-06 17:53:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-06 17:53:45 +0200 |
commit | e1d0390e29b60a6fa06d91a5d33dfb0e81fe7dd7 (patch) | |
tree | f9ac0846d75644ca5e49e8e26433a2c63c1b4f22 /app/views/admin/pending_accounts/_account.html.haml | |
parent | 2c63e0292a0a0a530ce814246bb6762983808135 (diff) |
Add batch actions for approving and rejecting pending accounts (#10469)
Diffstat (limited to 'app/views/admin/pending_accounts/_account.html.haml')
-rw-r--r-- | app/views/admin/pending_accounts/_account.html.haml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/admin/pending_accounts/_account.html.haml b/app/views/admin/pending_accounts/_account.html.haml new file mode 100644 index 000000000..c520dc065 --- /dev/null +++ b/app/views/admin/pending_accounts/_account.html.haml @@ -0,0 +1,14 @@ +.batch-table__row + %label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox + = f.check_box :account_ids, { multiple: true, include_hidden: false }, account.id + .batch-table__row__content.batch-table__row__content--unpadded + %table.accounts-table + %tbody + %tr + %td + = account.user_email + = "(@#{account.username})" + %br/ + = account.user_current_sign_in_ip + %td.accounts-table__count + = table_link_to 'pencil', t('admin.accounts.edit'), admin_account_path(account.id) |