Displaying 1 result from an estimated 1 matches for "contract_path".
Did you mean:
contracts_path
2007 Nov 20
3
How to test views with Nested Resources and Partials
...r :line_item
- form_for(:line_item, :url =>
contract_line_item_path(@contract.id), :html => { :method => :put }) do
|f|
= render :partial => "form", :locals => { :f => f }
%p
= submit_tag "Update"
#section2
= link_to(''Show'', contract_path(@contract)) + '' | '' + link_to(''Back'',
contracts_path)
######## _form.haml ########
#section1
#results.boxed
%h2 Details
%p
%label{:for => "line_item_support_type"}
Type
= f.text_field :support_type
%p...