﻿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
13782	Missing css on textarea & errors marking is too broad for multiple fields on same line	master	nobody	"Under the Admin, try to add-save an empty object of this example:

models.py:
{{{
#!python
class Test(models.Model):
    title = models.CharField(max_length=100, blank=True)
    presentation = models.TextField()

}}}

admin.py:
{{{
#!python
class TestAdmin(admin.ModelAdmin):
    fieldsets = (
        (None,   {'fields': (('title', 'presentation'), )}),
    )
admin.site.register(Test, TestAdmin)
}}}


The unexpected results are:
 * there is no red border on the offending 'presentation' field
 * the red border on the 'title' field is confusing, this field is not in error, as it can be empty

The proposed patch adds:
 * the missing CSS rule on an erroneous textarea
 * a way (to be cleanedup) to lower the error marking from the 'form-row' to the 'field-box' level, so that only the offending fields are pointed out.

"		closed	contrib.admin	dev		fixed	sprintdec2010		Ready for checkin	1	0	0	0	0	0
