BigW Consortium Gitlab

_ref_switcher.html.haml 406 Bytes
Newer Older
Vinnie Okada committed
1
= form_tag switch_namespace_project_refs_path(@project.namespace, @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 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