diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-06 18:22:59 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-06 18:22:59 +0100 |
commit | f978b06dd188fef4c2ece5e787818579b663ddf8 (patch) | |
tree | 70a0969b208ac3b0393c5fb9e54b8bd222782e6f /app/views/admin/accounts/show.html.haml | |
parent | f406e01fcf7d69045cf3ad8ea8dea51acd85535b (diff) |
Add suspend account functionality to admin UI
Diffstat (limited to 'app/views/admin/accounts/show.html.haml')
-rw-r--r-- | app/views/admin/accounts/show.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/admin/accounts/show.html.haml b/app/views/admin/accounts/show.html.haml index 47f1e2308..de63dd7f9 100644 --- a/app/views/admin/accounts/show.html.haml +++ b/app/views/admin/accounts/show.html.haml @@ -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' |