django-nested-inline
django-nested-inline copied to clipboard
NestedTabularInline layout broken by "Add another..." button
The "Add another..." button, in the context of the NestedTabularInline template, is breaking the layout of the table, because the JS is inserting div.add-row after all the tr elements within the tbody, which is invalid. If it were instead inserting it after the table, inside the fieldset, the layout would be fine.

Chrome on Linux is ok, but not Firefox - see attachment. Other admin pages put the add link within a td with an appropriate colspan inside a new tr.
Same discussion here with possible solutions
https://github.com/s-block/django-nested-inline/issues/36
There's a PR that fixes this in #34