5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 22:16:22 +00:00
panel/app/views/components/_dropdown_item.haml

6 lines
233 B
Text
Raw Permalink Normal View History

2024-02-05 16:16:57 +00:00
-#
@param :text [String] Contenido del link
2024-03-05 19:24:16 +00:00
@param :path [String,Hash] Link
2024-03-18 20:13:32 +00:00
- local_assigns[:class] = "dropdown-item #{local_assigns[:class]}"
= link_to text, path, class: local_assigns[:class], data: { target: 'dropdown.item' }