Loading docs/ref/forms/api.txt +1 −1 Original line number Diff line number Diff line Loading @@ -661,7 +661,7 @@ additional attributes for the ``<label>`` tag. .. versionchanged:: 1.6 The label now includes the form's :attr:`~django.forms.Form.label_suffix` (a semicolon, by default). (a colon, by default). .. method:: BoundField.css_classes() Loading docs/releases/1.6.txt +4 −4 Original line number Diff line number Diff line Loading @@ -634,10 +634,10 @@ If you manually render ``label_tag`` in your templates: {{ form.my_field.label_tag }}: {{ form.my_field }} you'll want to remove the semicolon (or whatever other separator you may be you'll want to remove the colon (or whatever other separator you may be using) to avoid duplicating it when upgrading to Django 1.6. The following template in Django 1.6 will render identically to the above template in Django 1.5, except that the semicolon will appear inside the ``<label>`` element. 1.5, except that the colon will appear inside the ``<label>`` element. .. code-block:: html+django Loading Loading
docs/ref/forms/api.txt +1 −1 Original line number Diff line number Diff line Loading @@ -661,7 +661,7 @@ additional attributes for the ``<label>`` tag. .. versionchanged:: 1.6 The label now includes the form's :attr:`~django.forms.Form.label_suffix` (a semicolon, by default). (a colon, by default). .. method:: BoundField.css_classes() Loading
docs/releases/1.6.txt +4 −4 Original line number Diff line number Diff line Loading @@ -634,10 +634,10 @@ If you manually render ``label_tag`` in your templates: {{ form.my_field.label_tag }}: {{ form.my_field }} you'll want to remove the semicolon (or whatever other separator you may be you'll want to remove the colon (or whatever other separator you may be using) to avoid duplicating it when upgrading to Django 1.6. The following template in Django 1.6 will render identically to the above template in Django 1.5, except that the semicolon will appear inside the ``<label>`` element. 1.5, except that the colon will appear inside the ``<label>`` element. .. code-block:: html+django Loading