Add discoverable_local setting

This commit is contained in:
KMY 2023-08-09 13:21:54 +09:00
parent 88339b3657
commit 790ffc1e4e
7 changed files with 25 additions and 1 deletions

View file

@ -64,6 +64,10 @@
.fields-group
= f.input :discoverable, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.discoverable'), recommended: true
= f.simple_fields_for :settings, current_user.settings do |ff|
.fields-group
= ff.input :discoverable_local, input_html: { name: 'account[discoverable_local]' }, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.discoverable_local'), hint: I18n.t('simple_form.hints.defaults.discoverable_local')
.fields-group
= f.input :locked, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.locked')