Two or more forms in one page, and the controller will recie

thanks everybody.

shold I put my answer into the subject line ?

What do you want to do exactly ? multiple model forms on one page
(form_tag); multiple forms and submitting both or mixing model forms
(form_for, fields_for) with non-model fields ?

Please explain your use-case.

Sorry for my bad forms.
I want to multiple some the same model form and one submit in one
page. There will be a def in the controller to create some objects to
recieve all the model forms, but now, for example,
@choices ={[:choice]) } #create objcets
with the recieved forms params
[:choice] means it can only comes one model form, what should I do to
make all the forms come into the def???
Thanks for your time.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs