admin tool for editing pro status of accounts

This commit is contained in:
2458773093
2019-07-16 00:51:05 +03:00
parent 6226cc1dfd
commit 826773ee79
6 changed files with 40 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
- content_for :page_title do
= 'Edit PRO status of @' + @account.acct
= simple_form_for @account, url: save_pro_admin_account_path(@account.id), method: :put do |f|
= render 'edit_pro_fields', f: f
.actions
= f.button :button, t('generic.save_changes'), type: :submit