#3082 closed defect (fixed)
Form as_table() and as_ul() shouldn't include verbose_names for hidden fields
| Reported by: | Adrian Holovaty | Owned by: | Adrian Holovaty |
|---|---|---|---|
| Component: | Forms | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
If a Form includes any HiddenInput widgets, that Form's as_table() and as_ul() should include the <input type="hidden" /> but *not* display a separate <tr> or <li> with a verbose name for the hidden fields.
Note:
See TracTickets
for help on using tickets.
(In [4146]) Fixed #3082 -- newforms: Changed Form as_table() and as_ul() not to display verbose names for hidden fields, and to add field-name prefix to error messages to avoid user confusion. Also added unit tests.