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

7 lines
234 B
Text
Raw Permalink Normal View History

-#
@param name [String]
@param value [String]
@param text [String]
- local_assigns.delete(:text)
%button.dropdown-item{type: 'submit', data: { target: 'dropdown.item' }, name: name, value: value, **local_assigns.compact }= text