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

5 lines
233 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: { target: 'dropdown.item' }