diff --git a/app/views/settings/preferences/appearance/show.html.haml b/app/views/settings/preferences/appearance/show.html.haml index 45a27eb482..911a544ddb 100644 --- a/app/views/settings/preferences/appearance/show.html.haml +++ b/app/views/settings/preferences/appearance/show.html.haml @@ -29,7 +29,8 @@ include_blank: false, label_method: ->(theme) { I18n.t("themes.#{theme}", default: theme) }, label: I18n.t('simple_form.labels.defaults.setting_theme'), - wrapper: :with_label + wrapper: :with_label, + required: false .fields-group = f.simple_fields_for :settings, current_user.settings do |ff| @@ -39,7 +40,8 @@ hint: I18n.t('simple_form.hints.defaults.setting_emoji_style'), label: I18n.t('simple_form.labels.defaults.setting_emoji_style'), label_method: ->(emoji_style) { I18n.t("emoji_styles.#{emoji_style}", default: emoji_style) }, - wrapper: :with_label + wrapper: :with_label, + required: false - unless I18n.locale == :en .flash-message.translation-prompt @@ -87,7 +89,8 @@ item_wrapper_tag: 'li', label_method: ->(item) { t("simple_form.hints.defaults.setting_display_media_#{item}") }, label: I18n.t('simple_form.labels.defaults.setting_display_media'), - wrapper: :with_floating_label + wrapper: :with_floating_label, + required: false .fields-group = ff.input :'web.use_blurhash', diff --git a/app/views/settings/preferences/notifications/show.html.haml b/app/views/settings/preferences/notifications/show.html.haml index 08bcc32e9b..2efbb50bc3 100644 --- a/app/views/settings/preferences/notifications/show.html.haml +++ b/app/views/settings/preferences/notifications/show.html.haml @@ -40,4 +40,5 @@ include_blank: false, label_method: ->(setting) { I18n.t("simple_form.labels.notification_emails.software_updates.#{setting}") }, label: I18n.t('simple_form.labels.notification_emails.software_updates.label'), - wrapper: :with_label + wrapper: :with_label, + required: false