13 lines
421 B
Text
13 lines
421 B
Text
|
- triggers = local_assigns.fetch(:triggers)
|
||
|
- button_class = local_assigns.fetch(:button_class, '')
|
||
|
- hook = local_assigns.fetch(:hook)
|
||
|
|
||
|
.hook-test-button.dropdown.inline
|
||
|
%button.btn{ 'data-toggle' => 'dropdown', class: button_class }
|
||
|
Test
|
||
|
= icon('caret-down')
|
||
|
%ul.dropdown-menu.dropdown-menu-align-right{ role: 'menu' }
|
||
|
- triggers.each_value do |event|
|
||
|
%li
|
||
|
= link_to_test_hook(hook, event)
|