1
0
mirror of https://github.com/django/django.git synced 2024-11-20 08:24:58 +00:00
django/docs/ref/forms
Julen Ruiz Aizpuru 5eb81ce445 Fixed #22533 -- Added label_suffix parameter to form fields.
Fields can now receive the `label_suffix` attribute, which will override
a form's `label_suffix`.

This enhances the possibility to customize form's `label_suffix`, allowing
to use such customizations while using shortcuts such as
`{{ form.as_p }}`.

Note that the field's own customization can be overridden at runtime by
using the `label_prefix` parameter to `BoundField.label_tag()`.

Refs #18134.
2014-05-13 09:09:33 -04:00
..
api.txt Fixed #22533 -- Added label_suffix parameter to form fields. 2014-05-13 09:09:33 -04:00
fields.txt Fixed #22533 -- Added label_suffix parameter to form fields. 2014-05-13 09:09:33 -04:00
formsets.txt Removed versionadded/changed annotations for 1.6. 2014-03-24 11:42:56 -04:00
index.txt
models.txt Removed versionadded/changed annotations for 1.6. 2014-03-24 11:42:56 -04:00
validation.txt Fixed #22216 -- Added Form.non_field_errors to form API doc. 2014-04-05 18:16:01 -04:00
widgets.txt Fixed case in form widgets docs 2014-04-05 16:26:11 +02:00