Opened 8 years ago

Closed 8 years ago

Last modified 2 years ago

#27207 closed Cleanup/optimization (fixed)

Replace <p class="help"> with <div> tag in admin templates

Reported by: Tim Graham Owned by: nobody
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

To allow block elements such as lists in help text (for example, password validators help text in #26097), replace <p> with <div> in the admin templates and CSS.

It's implemented in the first commit of the PR for #26097.

Change History (3)

comment:1 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: newclosed

In 2d26b46:

Fixed #27207 -- Replaced <p> tag with <div> in admin help texts.

comment:2 by GitHub <noreply@…>, 3 years ago

In f3e2bb0:

Fixed #33750 -- Fixed timezone warning alignment with help texts.

Previously help_text was wrapped in a paragraph, but the change to div
broke the alignment, refs #27207.

comment:3 by Carlton Gibson <carlton@…>, 2 years ago

In 6f80050:

Fixed #33781 -- Restored alignment for admin split-field timezone warnings.

Regression in f3e2bb0833105f43efc0cc6f19c8465bc1b1a785.
Refs #33750 and #27207.

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