Opened 11 years ago

Closed 9 years ago

#10321 closed New feature (wontfix)

Dont hardcode form label html.

Reported by: Vadim Fint Owned by: nobody
Component: Forms Version: 1.0
Severity: Normal Keywords:
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Sometimes, form labels should be formatted differently. Current django forms does not allow this, by hardcoding label template in forms/ 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.

Attachments (1)

mocksoul_form_label_tag_templates.patch (2.4 KB) - added by Vadim Fint 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Vadim Fint

comment:1 Changed 11 years ago by rokclimb15

Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 9 years ago by Chris Beaven

Resolution: wontfix
Severity: Normal
Status: newclosed
Type: New feature

I'm going to make a call and say we won't go with this. I'm keen on exorcising all html from python eventually, and this is just making it more flexible.

If someone really wants to change the label html, they can just override the whole label_tag method.

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