Skip to content

Define a default help_text for ColorField #16704

@jeremystretch

Description

@jeremystretch

Proposed Changes

Set a default help_text value on the ColorField model/form field.

Justification

There are many places where we currently define a help text for these fields as

mark_safe(_('RGB color in hexadecimal. Example:') + ' <code>00ff00</code>')

Creating a a reusable form field for these will eliminate this redundant code.

Metadata

Metadata

Labels

status: acceptedThis issue has been accepted for implementationtype: housekeepingChanges to the application which do not directly impact the end user

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions