gitlabhq/app/views/shared/_ref_switcher.html.haml

6 lines
275 B
Plaintext
Raw Normal View History

= 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
2012-09-17 19:07:17 +02:00
- if defined?(path)
= hidden_field_tag :path, path