Forms
Created on Sept. 25, 2012, 9:35 p.m. by Hevok
& updated by
Hevok
on May 2, 2013, 5:24 p.m.
To customize the form representation use the template language.
- {{ field }} instance of BoundField which has the following attributes:
- {{ field.label }} Labelled name.
- {{ field.label_tag }} Field's label wrapped in the appropriate HTML tag
- {{ field.html_name }} Name of field that will be used in input's element's name field.
- {{ field.help_text }} Any associated help text associated.
- {{ field.errors }} Outputs a containing any validation errors corresponding to this field.
Tags:
tutorial,
template
Categories:
Tutorial
Parent:
Web Framework
Update entry
(
Admin)
|
See changes
Comment on This Data Unit