Change: Forms

created on Sept. 25, 2012, 9:35 p.m. by Hevok & updated on Oct. 13, 2012, 12:12 a.m. by Hevok

To customize the form representation use the template language. {{ field }} instance of BoundField which has the following attributes: {{ field.label }} Labeled name. {{ field.label_tag }} Field's label wrappred in the appropiate 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 valication errors corresponding to this field.


Tags: template
Categories:


See entry | Admin

Comment on This Data Unit