﻿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
11791	Incorrect HTML Code rendered in list_editable enabled changelists	panni@…	Karen Tracey	"items_for_result in django.contrib.admin.templatetags.admin_list.py appends the hidden field for the form-id to the output which, in the case of the multiple forms in the change form, results in an input field right after the last field which has been rendered:

Example:
{{{
<td><img src=""http://127.0.0.1:8199/media/img/admin/icon-no.gif"" alt=""False"" /></td><td><img src=""http://127.0.0.1:8199/media/img/admin/icon-no.gif"" alt=""0"" /></td><input type=""hidden"" name=""form-1-id"" value=""3287"" id=""id_form-1-id"" /></tr>
}}}

As far as I know that type of HTML element isn't allowed between the closing tags of TD and TR. This results in corrupted output when using Opera to view such a change list - it renders an empty blue line on top of the change list for every item in the change list.


A quick fix would be to let items_for_result ""inject"" the hidden input right after the last field itself, inside its TD, not outside."		closed	contrib.admin	1.1		fixed	list_editable, admin_list.py, items_for_result, opera	romain_hardouin@…	Accepted	1	0	0	0	0	0
