Syntax fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user