diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-06 21:14:41 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:21 -0500 |
commit | c85e467c0cc95cc3ca700973a29b5c1503f3bade (patch) | |
tree | f3203101e3ebab76a70ee286e0c8be43b4e1c1e1 /app | |
parent | d0631f446cfd73ae6dd32c6b3007716e7490087d (diff) |
group related prefs together
Diffstat (limited to 'app')
-rw-r--r-- | app/views/settings/preferences/show.html.haml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml index b2a987e37..fb9fd204c 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -41,6 +41,7 @@ .fields-group = f.input :setting_hide_network, as: :boolean, wrapper: :with_label + = f.input :setting_hide_stats, as: :boolean, wrapper: :with_label .fields-group = f.input :setting_show_application, as: :boolean, wrapper: :with_label @@ -52,6 +53,12 @@ %hr#settings_web/ .fields-group + = f.input :setting_auto_play_gif, as: :boolean, wrapper: :with_label + = f.input :setting_reduce_motion, as: :boolean, wrapper: :with_label + = f.input :setting_disable_color, as: :boolean, wrapper: :with_label + = f.input :setting_system_font_ui, as: :boolean, wrapper: :with_label + + .fields-group = f.input :setting_unfollow_modal, as: :boolean, wrapper: :with_label = f.input :setting_boost_modal, as: :boolean, wrapper: :with_label = f.input :setting_favourite_modal, as: :boolean, wrapper: :with_label @@ -61,15 +68,8 @@ = f.input :setting_aggregate_reblogs, as: :boolean, wrapper: :with_label .fields-group - = f.input :setting_auto_play_gif, as: :boolean, wrapper: :with_label = f.input :setting_display_media, collection: ['default', 'show_all', 'hide_all'], wrapper: :with_label, include_blank: false, label_method: lambda { |item| safe_join([t("simple_form.labels.defaults.setting_display_media_#{item}"), content_tag(:span, t("simple_form.hints.defaults.setting_display_media_#{item}"), class: 'hint')]) }, required: false, as: :radio_buttons, collection_wrapper_tag: 'ul', item_wrapper_tag: 'li' = f.input :setting_expand_spoilers, as: :boolean, wrapper: :with_label - = f.input :setting_reduce_motion, as: :boolean, wrapper: :with_label - = f.input :setting_system_font_ui, as: :boolean, wrapper: :with_label - - .fields-group - = f.input :setting_hide_stats, as: :boolean, wrapper: :with_label - .actions = f.button :button, t('generic.save_changes'), type: :submit |