Add suspend account functionality to admin UI
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user