76aad9b76e
Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
7 lines
406 B
Text
7 lines
406 B
Text
= form_tag switch_namespace_project_refs_path(@project.namespace, @project), method: :get, class: "project-refs-form" do
|
|
= select_tag "ref", grouped_options_refs, class: "project-refs-select select2 select2-sm"
|
|
= hidden_field_tag :destination, destination
|
|
- if defined?(path)
|
|
= hidden_field_tag :path, path
|
|
- @options && @options.each do |key, value|
|
|
= hidden_field_tag key, value, id: nil
|