﻿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
23712	BaseForm._html_output() uses inconsistent formatting for normal row	A. Lloyd Flanagan	nobody	"Steps to reproduce:

1. Create a form with at least one '''HiddenInput''' form field.
2. Override a method such as `as_p()` by calling `_html_output()` with:
   a. A `normal_row` parameter containing the string ""%(field_name)s""
   b. A `row_ender` parameter which is *not* the last tag in `normal_row`
3. Attempt to render the form. This will result in a builtins.KeyError: 'field_name' message.

Under these conditions, BaseForm._html_output() attempts to create a new row to hold the hidden input fields. When it does, it uses `normal_row % {..}`, but the dictionary does not have the field ""field_name"" in it. This causes a KeyError. On the other hand, if `normal_row` ends in a `row_ender` tag, it doesn't create a new row, and the method succeeds."	Uncategorized	new	Forms	1.7	Normal				Unreviewed	0	0	0	0	1	0
