5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 15:36:22 +00:00
panel/app/views/components/_dropdown_item.haml
2024-07-20 15:21:03 -03:00

5 lines
235 B
Text

-#
@param :text [String] Contenido del link
@param :path [String,Hash] Link
- local_assigns[:class] = "dropdown-item #{local_assigns[:class]}"
= link_to text, path, class: local_assigns[:class], data: { 'dropdown-target': 'item' }