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,7 @@
.fields-row
.fields-row__column.fields-row__column-6.fields-group
%label{for: "is_pro"}
PRO
= f.check_box :is_pro, wrapper: :with_label, hint: false, id: "is_pro"
.fields-row__column.fields-row__column-6.fields-group
= f.input :pro_expires_at, as: :string, wrapper: :with_label, hint: false