summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures/create_item_dropdown.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/fixtures/create_item_dropdown.html.haml')
-rw-r--r--spec/javascripts/fixtures/create_item_dropdown.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/javascripts/fixtures/create_item_dropdown.html.haml b/spec/javascripts/fixtures/create_item_dropdown.html.haml
new file mode 100644
index 00000000000..d4d91b93caf
--- /dev/null
+++ b/spec/javascripts/fixtures/create_item_dropdown.html.haml
@@ -0,0 +1,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