﻿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
17921	"Add default ""error"" and ""required"" css classes to form rows"	Haisheng HU	nobody	"[ticket:3512 Ticket #3512] talked about this feature a few years ago. User can now add '''error_css_class''' and '''required_css_class''' to its own Form/ModelForm subclass. But it should be more convenient/straightforward to have these attributes assigned in its parent BaseForm.

The default output of a required/error row will be as follows.
{{{
<tr class=""required error"">
<th><label for=""id_name"">Name:</label></th>
<td>
<ul class=""errorlist""><li>This field is required.</li></ul>
<input id=""id_name"" type=""text"" name=""name"" maxlength=""256"" />
</td>
</tr>
}}}"	Uncategorized	closed	Forms	1.3	Normal	wontfix		hanson2010@…	Unreviewed	1	0	0	0	0	1
