_ref_switcher.html.haml 376 Bytes
Newer Older
1
= form_tag switch_project_refs_path(@project), method: :get, class: "project-refs-form" do
2
  = select_tag "ref", grouped_options_refs, class: "project-refs-select select2 select2-sm"
3
  = hidden_field_tag :destination, destination
Robert Speicher's avatar
Robert Speicher committed
4
  - if defined?(path)
5
    = hidden_field_tag :path, path
6 7
  - @options && @options.each do |key, value|
    = hidden_field_tag key, value, id: nil