view templates/field.djhtml @ 166:a05e547449de

Oops, move 'from __future__ import' statement to top of the file
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Wed, 17 Oct 2012 10:30:26 -0400
parents 5ab229c9d348
children
line wrap: on
line source

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

<div class="form-line">
    {{ field.label_tag }}
    <div class="form-input">
        {{ field }}
        {% if field.help_text %}
        <p>{{ field.help_text|safe }}</p>
        {% endif %}
    </div>
</div>