#14372: Admin shouldn't render label tags on hidden fields
------------------------------------------------+---------------------------
Reporter: Mnewman | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords: admin
hiddenfields forms
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 1
Patch needs improvement: 1 |
------------------------------------------------+---------------------------
Changes (by julien):
* needs_better_patch: 0 => 1
* needs_tests: 0 => 1
Comment:
The patch is not ideal. With that patch, if the row contains just one
field and that field is hidden, then you're left with an empty `<div class
="form-row title">`. The patch should be improved to not display the row
at all in this case.
--
Ticket URL: <http://code.djangoproject.com/ticket/14372#comment:2>
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.