2012-09-16 12:07:57 -04:00
|
|
|
= form_tag switch_project_refs_path(@project), method: :get, class: "project-refs-form" do
|
2014-01-11 05:11:54 -05:00
|
|
|
= select_tag "ref", grouped_options_refs, class: "project-refs-select select2 select2-sm"
|
2012-09-16 12:07:57 -04:00
|
|
|
= hidden_field_tag :destination, destination
|
2012-09-17 13:07:17 -04:00
|
|
|
- if defined?(path)
|
2012-09-16 12:07:57 -04:00
|
|
|
= hidden_field_tag :path, path
|
2013-04-14 08:09:47 -04:00
|
|
|
- @options && @options.each do |key, value|
|
|
|
|
= hidden_field_tag key, value, id: nil
|