Opened 19 years ago
Closed 19 years ago
#3698 closed (fixed)
Smarter newforms labling
| Reported by: | Chris Beaven | Owned by: | Adrian Holovaty |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I have been using some labels on my newforms fields. Some end with punctuation, which makes the added ":" look a bit silly after it (when using the lazy form rendering methods like as_p())
The patch makes it so the label is not appended with a colon if the field label ends in punctuation.
Attachments (2)
Change History (6)
by , 19 years ago
| Attachment: | newforms_labling.patch added |
|---|
comment:1 by , 19 years ago
| Triage Stage: | Unreviewed → Design decision needed |
|---|
comment:2 by , 19 years ago
| Triage Stage: | Design decision needed → Accepted |
|---|
comment:3 by , 19 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:4 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Good idea. Write up some unit tests, and we'll put it in.