2012-05-17 18:11:45 +02:00
|
|
|
%ul.nav.nav-tabs
|
|
|
|
%li
|
2012-08-11 00:07:50 +02:00
|
|
|
= form_tag switch_project_refs_path(@project), method: :get, class: "project-refs-form", remote: true do
|
|
|
|
= select_tag "ref", grouped_options_refs, onchange: "$(this.form).trigger('submit');", class: "project-refs-select"
|
2012-05-17 18:11:45 +02:00
|
|
|
= hidden_field_tag :destination, "tree"
|
|
|
|
= hidden_field_tag :path, params[:path]
|
2012-08-11 00:07:50 +02:00
|
|
|
%li{class: "#{'active' if (controller.controller_name == "refs") }"}
|
2012-06-04 00:37:27 +02:00
|
|
|
= link_to tree_project_ref_path(@project, @ref) do
|
2012-05-17 23:23:18 +02:00
|
|
|
Source
|
2012-05-17 18:11:45 +02:00
|
|
|
|