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

7 lines
236 B
Text
Raw Permalink Normal View History

-#
@param name [String]
@param value [String]
@param text [String]
- local_assigns.delete(:text)
2024-07-20 18:21:03 +00:00
%button.dropdown-item{type: 'submit', data: { 'dropdown-target': 'item' }, name: name, value: value, **local_assigns.compact }= text