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

7 lines
234 B
Text
Raw 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