view templates/simple_field.djhtml @ 165:27de4f31f9d5

Add from __future__ import with_statement The running Agora instance is using Python 2.5, and the with statement needs a future import for 2.5
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Wed, 17 Oct 2012 10:29:14 -0400
parents ba51d3b7740b
children 5e10ea8052b5
line wrap: on
line source

{{ field.label_tag }}
{{ field }}

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

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