mrjoes/flask-admin — pull request #290 by bergundy (2013-08-20 10:52:47+00:00)
Title: bugfix: inline form 'new' template - now submits all added fields correc...

...tly

I noticed that in form.js:28, we try to figure out the new field id by parsing the last inline-field's id:
var lastField = $el.children('.fa-inline-field').last();

When you add new fields in the /new form, they get class="inline-form" which would cause appended fields to all have an id that ends with 0.

From the manual tests I did, this seems to fix it.