Opened 12 years ago
Closed 12 years ago
#22329 closed Cleanup/optimization (fixed)
Use label_tag() in admin auth templates to remove hardcoded class='required'
| Reported by: | Tim Graham | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| 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
Now that #17922 is resolved, we can fix some TODOs in the admin templates by replacing hardcoded class="required" by using {{ form.field.label_tag }} and adding Form.required_class_class = 'required'.
Change History (2)
comment:1 by , 12 years ago
| Version: | 1.6 → master |
|---|
comment:2 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
PR