#3082 closed defect (fixed)
Form as_table() and as_ul() shouldn't include verbose_names for hidden fields
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.