Remove: #609 ローカルユーザー設定から購読許可を削除 (#782)

* #609 ローカルユーザー設定から購読許可を削除

* Fix test

* Fix test
This commit is contained in:
KMY(雪あすか) 2024-07-31 13:01:36 +09:00 committed by GitHub
parent ec60b68608
commit 0c37295624
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 34 additions and 146 deletions

View file

@ -36,20 +36,5 @@
.fields-group
= ff.input :reject_send_limited_to_suspects, kmyblue: true, as: :boolean, wrapper: :with_label, label: I18n.t('simple_form.labels.defaults.setting_reject_send_limited_to_suspects'), hint: I18n.t('simple_form.hints.defaults.setting_reject_send_limited_to_suspects')
%h4= t('privacy_extra.will_remove_settings')
%p.hint= t('privacy_extra.will_remove_settings_hint_html')
.fields-group
= f.input :subscription_policy,
as: :radio_buttons,
collection: %w(allow followers_only block),
collection_wrapper_tag: 'ul',
hint: t('simple_form.hints.defaults.subscription_policy'),
item_wrapper_tag: 'li',
kmyblue: true,
label: t('simple_form.labels.defaults.subscription_policy'),
label_method: ->(item) { safe_join([t("simple_form.labels.subscription_policy.#{item}")]) },
wrapper: :with_floating_label
.actions
= f.button :button, t('generic.save_changes'), type: :submit