view templates/simple_field.djhtml @ 213:6f285552a9d0 default tip

Remove requirement to be logged in to see comments
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 16 Jan 2014 10:59:05 -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>