Browse Source

Re-surface post formatting settings

Arlo (Hyena) 2 weeks ago
parent
commit
b56cc70c9b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      app/views/settings/preferences/appearance/show.html.haml

+ 1
- 0
app/views/settings/preferences/appearance/show.html.haml View File

@@ -21,6 +21,7 @@
21 21
     = f.input :setting_auto_play_gif, as: :boolean, wrapper: :with_label, recommended: true
22 22
     = f.input :setting_reduce_motion, as: :boolean, wrapper: :with_label
23 23
     = f.input :setting_system_font_ui, as: :boolean, wrapper: :with_label
24
+    = f.input :setting_strip_formatting, collection: ['none', 'blocks', 'all'], wrapper: :with_floating_label, include_blank: false, label_method: lambda { |value| safe_join([I18n.t("statuses.strip_formatting.#{value}"), content_tag(:span, I18n.t("statuses.strip_formatting.#{value}_long"), class: 'hint')]) }, required: false, as: :radio_buttons, collection_wrapper_tag: 'ul', item_wrapper_tag: 'li', hint: false
24 25
 
25 26
   %h4= t 'appearance.confirmation_dialogs'
26 27
 

Loading…
Cancel
Save