view templates/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 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>