search for: send_contract

Displaying 1 result from an estimated 1 matches for "send_contract".

2010 Feb 07
0
using form_for in a partial
...;t have to write the contract twice. But that''s where I run into problems. The only difference between the form (contract) and the email are the form tags will be replaced with their actual values. For example: My HTML Contract <% form_for @contract, :url => { :action => "send_contract"} do |f| %> <%= f.error_messages %> <div> Lots of text that I don''t want to duplicate </div> <div> <%= f.label :name, "Name: " %> <%= f.text_field :name %> </div> <div> <%= f.label :email, &quo...