summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures/create_item_dropdown.html.haml
blob: d4d91b93caf9782903f5d910ec8b131b2a3c66fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.js-create-item-dropdown-fixture-root
  %input{ name: 'variable[environment]', type: 'hidden' }
  = dropdown_tag('some label',
                   options: { toggle_class: 'js-dropdown-menu-toggle',
                              content_class: 'js-dropdown-content',
                              filter: true,
                              dropdown_class: "dropdown-menu-selectable",
                              footer_content: true }) do
    %ul.dropdown-footer-list
      %li
        %button{ class: "dropdown-create-new-item-button js-dropdown-create-new-item" }
          Create wildcard
          %code