Dont hardcode form label html.
|Reported by:||MockSoul||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Sometimes, form labels should be formatted differently. Current django forms does not allow this, by hardcoding label template in forms/forms.py. This my old patch which allows to change label template for any form. It is backward-compatible (used by me for several months, all django tests pass). Not sure is it elegant solution or not, but helps me a lot.
Change History (3)
Changed 7 years ago by MockSoul
comment:1 Changed 7 years ago by rokclimb15
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed