summaryrefslogtreecommitdiff
path: root/app/views/shared/_ref_switcher.html.haml
blob: dc8c656e12e571b9024c572c377623dcaa982ca1 (plain)
1
2
3
4
5
6
7
= form_tag switch_project_refs_path(@project), method: :get, class: "project-refs-form" do
  = select_tag "ref", grouped_options_refs, class: "project-refs-select chosen"
  = hidden_field_tag :destination, destination
  - if defined?(path)
    = hidden_field_tag :path, path
  - @options && @options.each do |key, value|
    = hidden_field_tag key, value, id: nil