view templates/simple_field.djhtml @ 196:134f726fd62c

Removed extrawhitespaces and moved comments template files to templates folder
author Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com>
date Thu, 04 Jul 2013 15:45:50 +0500
parents 86129d185ddb
children
line wrap: on
line source

<div class="form-field">
    <strong>{{ field.label_tag }}</strong>

    {% if field.errors %}
    <div class="errors">{{ field.errors }}</div>
    {% endif %}

    {{ field }}

    {% if field.help_text %}
    <p>{{ field.help_text }}</p>
    {% endif %}
</div>