Opened 10 years ago

Closed 10 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 Tim Graham, 10 years ago

Version: 1.6master

comment:2 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In ed4c2e1c0d9e43c09767b02fd8b4bd74a5dfe512:

Fixed #22329 -- Used label_tag() in some admin auth templates.

refs #17922.

Note: See TracTickets for help on using tickets.
Back to Top