Add batch actions for approving and rejecting pending accounts (#10469)
This commit is contained in:
parent
2c63e0292a
commit
e1d0390e29
8 changed files with 130 additions and 3 deletions
14
app/views/admin/pending_accounts/_account.html.haml
Normal file
14
app/views/admin/pending_accounts/_account.html.haml
Normal file
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue