Add preference to disable e-mails about new pending accounts (#10529)

This commit is contained in:
Eugen Rochko 2019-04-10 00:35:49 +02:00 committed by GitHub
parent 2cb16c20a6
commit 36b39fbac5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 2 deletions

View file

@ -14,6 +14,7 @@
- if current_user.staff?
= ff.input :report, as: :boolean, wrapper: :with_label
= ff.input :pending_account, as: :boolean, wrapper: :with_label
.fields-group
= f.simple_fields_for :notification_emails, hash_to_object(current_user.settings.notification_emails) do |ff|