gitlab-org--gitlab-foss/app/views/projects/_refs.html.haml

9 lines
330 B
Text
Raw Normal View History

2011-11-16 12:19:18 -05:00
= form_tag switch_project_refs_path(@project), :method => :get, :class => "project-refs-form" do
2011-11-03 12:28:33 -04:00
= select_tag "ref", grouped_options_refs, :onchange => "this.form.submit();", :class => "project-refs-select"
2011-11-16 12:19:18 -05:00
= hidden_field_tag :destination, destination
2011-11-03 12:28:33 -04:00
:javascript
$(function(){
$('.project-refs-select').chosen();
})