Add switch private messages support

This commit is contained in:
KMY 2023-03-14 17:22:58 +09:00
parent 38100df205
commit 4439f0255c
8 changed files with 24 additions and 7 deletions

View file

@ -32,6 +32,9 @@
.fields-group
= f.input :group_message_following_only, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.group_message_following_only')
.fields-group
= f.input :group_allow_private_message, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.group_allow_private_message')
.fields-group
= f.input :discoverable, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.discoverable'), recommended: true