3

How can I add dynamic fields to a rails form to create multiple objects from the same model? I'm able to do this with nested forms using the cocoon gem but for fields of the same model I can't figure it out. I tried to add fields dynamically trough js but without success! Can anyone point me on the right direction? Thanks.

Nuno
  • 515
  • 1
  • 5
  • 21

0 Answers0