Merge pull request #1479 from tsigo/ref_switch

Extract ref switcher into a partial
This commit is contained in:
Dmitriy Zaporozhets 2012-09-17 00:53:30 -07:00
commit b5442eb564
5 changed files with 12 additions and 14 deletions

View file

@ -1,3 +0,0 @@
= 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 chosen"
= hidden_field_tag :destination, destination