1
0
Fork 0
forked from gitea/nas

Add (currently unused) setting for default quote policy (#34623)

This commit is contained in:
Claire 2025-05-13 13:47:38 +02:00 committed by GitHub
parent f993d7578b
commit 5305e939c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 18 additions and 0 deletions

View file

@ -38,6 +38,17 @@
required: false,
wrapper: :with_label
.fields-row
.fields-group.fields-row__column.fields-row__column-6
= ff.input :default_quote_policy,
collection: %w(public followers nobody),
include_blank: false,
label_method: ->(policy) { I18n.t("statuses.quote_policies.#{policy}") },
label: I18n.t('simple_form.labels.defaults.setting_default_quote_policy'),
hint: I18n.t('simple_form.hints.defaults.setting_default_quote_policy'),
required: false,
wrapper: :with_label
.fields-group
= ff.input :default_sensitive,
hint: I18n.t('simple_form.hints.defaults.setting_default_sensitive'),