[#4177] Update the cancel link to redirect to the list or show page.
This commit is contained in:
1 parent
c6783f98fd
commit
fbc7d8f592
3 files changed
+3
-3
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<%= content_tag(:h2, h(resource.name)) %>
|
||||
|
||||
<% semantic_form_for resource, :url => contract_path(@project, resource), :html => {:class => 'tabular'} do |form| %>
|
||||
<%= render :partial => 'form', :object => form %>
|
||||
<%= render :partial => 'form', :object => form, :locals => {:cancel_path => contract_path(@project, resource)} %>
|
||||
<% end %>
|
||||
|
||||
<% content_for(:header_tags) do %>
|
||||
|
||||
Reference in new issue
Block a user