about summary refs log tree commit diff
path: root/app/views/settings/preferences/appearance/show.html.haml
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-03-15 15:07:43 -0400
committerGitHub <noreply@github.com>2023-03-15 20:07:43 +0100
commit65669d3c5719e72000bf26849d0ee1eaec1f9d1b (patch)
tree10ee37c8188e69516bd5e9a045f966b6e1124699 /app/views/settings/preferences/appearance/show.html.haml
parent0b8b0ef65221e5341cd81b212f0e40722ffd5ef7 (diff)
Fix more haml-lint Rubocop (#24107)
Diffstat (limited to 'app/views/settings/preferences/appearance/show.html.haml')
-rw-r--r--app/views/settings/preferences/appearance/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/settings/preferences/appearance/show.html.haml b/app/views/settings/preferences/appearance/show.html.haml
index 9e3964f21..bc23df647 100644
--- a/app/views/settings/preferences/appearance/show.html.haml
+++ b/app/views/settings/preferences/appearance/show.html.haml
@@ -13,7 +13,7 @@
 
   - unless I18n.locale == :en
     .flash-message.translation-prompt
-      #{t 'appearance.localization.body'} #{content_tag(:a, t('appearance.localization.guide_link_text'), href: t('appearance.localization.guide_link'), target: "_blank", rel: "noopener")}
+      #{t 'appearance.localization.body'} #{content_tag(:a, t('appearance.localization.guide_link_text'), href: t('appearance.localization.guide_link'), target: '_blank', rel: 'noopener')}
 
   %h4= t 'appearance.advanced_web_interface'
 
@@ -53,7 +53,7 @@
   %h4= t 'appearance.sensitive_content'
 
   .fields-group
-    = f.input :setting_display_media, collection: ['default', 'show_all', 'hide_all'],label_method: lambda { |item| t("simple_form.hints.defaults.setting_display_media_#{item}") }, hint: false, as: :radio_buttons, collection_wrapper_tag: 'ul', item_wrapper_tag: 'li', wrapper: :with_floating_label
+    = f.input :setting_display_media, collection: ['default', 'show_all', 'hide_all'], label_method: lambda { |item| t("simple_form.hints.defaults.setting_display_media_#{item}") }, hint: false, as: :radio_buttons, collection_wrapper_tag: 'ul', item_wrapper_tag: 'li', wrapper: :with_floating_label
 
   .fields-group
     = f.input :setting_use_blurhash, as: :boolean, wrapper: :with_label