search for: machine_form

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

2010 Jan 20
0
need help with nested forms and habtm
...hone = form.input :mobile = form.input :fax = form.input :email - form.inputs :for => [:inquiries, @inquiries] do |inquiry_form| = inquiry_form.input :text, :hint => t("inquiryinfo") - inquiry_form.inputs :for => [:machines, @machines] do |machine_form| = machine_form.input :id, :as => :hidden = form.commit_button :label => t("send") ### PROBLEM ### - the form renders fine for the customer and inquiry fields --> OK! - the form renders the hidden field only for the FIRST machine in my @machines collection (and th...