view templates/simple_field.djhtml @ 133:ba51d3b7740b

Add ability to upload a file to create a snippet If a file is specified, the contents of that file are used in preference to the contents of the 'content' text box.
author dellsystem <ilostwaldo@gmail.com>
date Sat, 22 Sep 2012 12:20:24 -0400
parents
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 %}