debian-mirror-gitlab/app/views/shared/_ref_switcher.html.haml

8 lines
406 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
= form_tag switch_namespace_project_refs_path(@project.namespace, @project), method: :get, class: "project-refs-form" do
2014-09-02 18:07:02 +05:30
= select_tag "ref", grouped_options_refs, class: "project-refs-select select2 select2-sm"
= 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