about summary refs log tree commit diff
path: root/app/views/settings
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-04-07 20:55:28 +0200
committerGitHub <noreply@github.com>2023-04-07 20:55:28 +0200
commitc3a8f6a0a33c264d0c461232ab35034a1210a733 (patch)
tree0279b7edf721f3b3690ce17b529c7b37318d0bcb /app/views/settings
parent02d5c6940424eefcd0815f0fff2d70f91fd387cd (diff)
Fix glitch-soc HAML linting issues (#2166)
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/flavours/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/settings/flavours/show.html.haml b/app/views/settings/flavours/show.html.haml
index c3f785aa0..ea2540858 100644
--- a/app/views/settings/flavours/show.html.haml
+++ b/app/views/settings/flavours/show.html.haml
@@ -5,7 +5,7 @@
   = render 'shared/error_messages', object: current_user
 
   - Themes.instance.flavour(@selected)['screenshot'].each do |screen|
-    %img.flavour-screen{ src: full_pack_url("media/#{screen}") }
+    %img.flavour-screen{ src: full_pack_url("media/#{screen}"), alt: '' }
 
   .flavour-description
     = t "flavours.#{@selected}.description", default: ''
@@ -14,7 +14,7 @@
 
   - if Themes.instance.skins_for(@selected).length > 1
     .fields-group
-      = f.input :setting_skin, collection: Themes.instance.skins_for(@selected), label_method: lambda { |skin| I18n.t("skins.#{@selected}.#{skin}", default: skin) }, wrapper: :with_label, include_blank: false
+      = f.input :setting_skin, collection: Themes.instance.skins_for(@selected), label_method: ->(skin) { I18n.t("skins.#{@selected}.#{skin}", default: skin) }, wrapper: :with_label, include_blank: false
 
   .actions
     = f.button :button, t('generic.use_this'), type: :submit