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

9 lines
330 B
Plaintext
Raw Normal View History

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