gitlabhq/app/views/projects/_refs.html.haml

9 lines
330 B
Plaintext
Raw Normal View History

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