elo80ka / django-dynamic-formset

A jQuery plugin that allows you dynamically add new forms to a rendered django formset.
677 stars 311 forks source link

Add new forms before add container instead of before add link #163

Open philippemilink opened 4 years ago

philippemilink commented 4 years ago

Previous commit added possibility to put add link directely in a dedicated container, with the parameter addConainterClass. However, when using this parameter, new forms are put before the add link, but inside the add container.

With this PR, if addContainerClassis defined, new forms are put before the container, and not inside.