1
0
mirror of https://github.com/django/django.git synced 2025-02-06 07:25:19 +00:00
Gabe Jackson 584bd14dcf Fixed #18134 -- BoundField.label_tag now includes the form's label_suffix
There was an inconsistency between how the label_tag for forms were
generated depending on which method was used: as_p, as_ul and as_table
contained code to append the label_suffix where as label_tag called on a
form field directly did NOT append the label_suffix. The code for
appending the label_suffix has been moved in to the label_tag code of
the field and the HTML generation code for as_p, as_ul and as_table now
calls this code as well.

This is a backwards incompatible change because users who have added the
label_suffix manually in their templates may now get double label_suffix
characters in their forms.
2013-06-10 14:23:15 -04:00
..
2013-03-22 13:50:07 -04:00
2011-09-11 02:28:08 +00:00
2013-03-22 13:50:07 -04:00
2012-08-31 20:35:50 +02:00
2012-08-31 20:35:50 +02:00
2012-10-21 07:49:35 -07:00
2013-03-22 13:50:07 -04:00
2013-03-22 13:50:07 -04:00
2013-03-28 15:03:19 -05:00