mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-14 23:47:48 +00:00
Improve tooltip partial
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
%div{"data-controller": "tooltip"}
|
||||
%a{"data-tooltip-target": "element"}
|
||||
= t('admin.whats_this')
|
||||
%a{"data-tooltip-target": "element", href: link, class: link_class}
|
||||
= link_text
|
||||
.tooltip-container
|
||||
.tooltip{"data-tooltip-target": "tooltip"}
|
||||
= sanitize tooltip_text
|
||||
|
||||
Reference in New Issue
Block a user