i’d like to use the same model to create in one view (new.erb.html) more records at once with a single submit.
for example I’ve a model called Report with some fields such title, description and date
how can render same form partial many times when i click an add button? i think is not a nasted model’s problem because is always the same model actions.
Thanks
You can do something like this (I haven’t test the code myself):
haml:
js:
controller: