Answer the question
In order to leave comments, you need to log in
How to add and save multiple elements on the same page with the form of one common element?
(in the figure, a simplified fictitious task)
Task: right in the new / edit form of one model (Vitrina), it was possible to create an arbitrary number of elements of another model (Product). Preferably without AJAX. The minimum is to be able to create one new additional Product in the form in edit mode and be able to delete any of the existing ones.
With AJAX it is even more or less clear. But I want AJAX to be just an enhancement, not the main functionality... Maybe there are best practices? I just do not know how to search for this technique correctly ... what keywords?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question