#13782: Missing css on textarea & errors marking is too broad for multiple fields on same line ----------------------------------+----------------------------------------- Reporter: master | Owner: nobody Status: new | Milestone: Component: django.contrib.admin | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | ----------------------------------+----------------------------------------- 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. -- Ticket URL: <http://code.djangoproject.com/ticket/13782> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.