Syntax fix

This commit is contained in:
Andy Smith
2025-08-25 13:06:14 -05:00
parent 25af985f5c
commit 08c689ba0c
+1 -1
View File
@@ -37,7 +37,7 @@ module FiltersHelper
end
def filter_hotkey_link(title, path, key, icon)
link_to path, class: "popup__group btn borderless", id: "filter-hotkey-#{key}", role: "listitem", data: { filter_target: "item", navigable_list_target: "item", controller: "hotkey", action: "keydown.#{key}@document->hotkey#click keydown.shift+#{key}@document->hotkey#click"} do
link_to path, class: "popup__group btn borderless", id: "filter-hotkey-#{key}", role: "listitem", data: { filter_target: "item", navigable_list_target: "item", controller: "hotkey", action: "keydown.#{key}@document->hotkey#click keydown.shift+#{key}@document->hotkey#click" } do
concat icon_tag(icon)
concat tag.span(title.html_safe)
concat tag.kbd(key)