#35191: Allow form renderer to use custom template for label tag
-------------------------------------+-------------------------------------
Reporter: Oxan van Leeuwen | Owner: Almaz
Type: New feature | Status: closed
Component: Forms | Version: 5.0
Severity: Normal | Resolution: wontfix
Keywords: forms render | Triage Stage:
template | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Oxan van Leeuwen):
The problem with overriding the default template is that it's global to
the project, while form renderers are local to the form. This is useful
e.g. if there multiple different form layouts are used within a project,
or when incrementally transitioning between design systems. There's also
the matter of consistency: the form, formset and field templates can
already be changed by the renderer, why not the label? After all, the
default template for those could also be globally overridden.
--
Ticket URL: <https://code.djangoproject.com/ticket/35191#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018da76be765-400cdcb4-5ee1-49d6-877d-4340ef80395e-000000%40eu-central-1.amazonses.com.