Add the tag css classes to dropdown options data

This commit is contained in:
Cristian Guerrero 2023-12-05 12:07:08 -05:00
parent aa060669d5
commit 0b4b34afad
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@
(t.filtered_count == 1 ? "" : "s") << " filtering</em>"
end
[ "#{t.tag} - #{t.description}", t.tag, { "data-title" => raw(html) } ]},
[ "#{t.tag} - #{t.description}", t.tag, { "data-title" => raw(html), "data-tag-css" => t.css_class } ]},
f.object.tags_a), {}, { :multiple => true } %>
</div>