﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
13459	"nonzero extra inlines and ""add another"" create duplicate <tr> ids"	3point2	nobody	"The first new row of an admin inline created by the ""add another"" button has the same id as the immediately preceding ""extra"" row.

An admin model that contains an inline with the ""extra"" option set to a non zero value creates <tr>s with id suffixes starting from 1. When the !JavaScript ""add another"" function is called, it creates id suffixes assuming that the first row id was numbered 0.

This may have been a side effect of fixing #13175. Using forloop.counter0 in the inline templates when generating the extra inlines solves the problem."		closed	contrib.admin	dev		fixed			Accepted	1	0	0	0	0	0
