gitlab-org--gitlab-foss/app/views/projects/_refs.html.haml
2011-11-16 12:19:18 -05:00

8 lines
330 B
Text

= form_tag switch_project_refs_path(@project), :method => :get, :class => "project-refs-form" do
= select_tag "ref", grouped_options_refs, :onchange => "this.form.submit();", :class => "project-refs-select"
= hidden_field_tag :destination, destination
:javascript
$(function(){
$('.project-refs-select').chosen();
})