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

9 lines
318 B
Plaintext
Raw Normal View History

= 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"
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();
})