#1102 closed defect (fixed)
[patch] a few HTML errors in the admin app
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This patch addresses 3 HTML errors in the admin (as of rev 1764, trunk).
Attachments (1)
Change History (4)
by , 19 years ago
Attachment: | django_admin_html_patch_1.diff added |
---|
comment:1 by , 19 years ago
Thanks for this patch. What's the extra <div>
for in the search_form.html template?
comment:2 by , 19 years ago
Apparently <form> can only contain block or script elements:
http://www.w3.org/TR/REC-html40/interact/forms.html#edef-FORM
so you can't put an <input> or <label> inside <form> directly, but adding a div fixes it.
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
patch