Add suspend account functionality to admin UI
This commit is contained in:
parent
f406e01fcf
commit
f978b06dd1
7 changed files with 56 additions and 13 deletions
|
@ -33,3 +33,5 @@
|
|||
|
||||
.actions
|
||||
= f.button :button, t('generic.save_changes'), type: :submit
|
||||
|
||||
= link_to 'Perform full suspension', suspend_admin_account_path(@account.id), method: :post, data: { confirm: 'Are you sure?' }, class: 'button'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue