view templates/field.djhtml @ 146:6573617409e2

Add top margin to #diff on snippet view page (To align it with the sidebar)
author dellsystem <ilostwaldo@gmail.com>
date Sun, 14 Oct 2012 16:24:14 -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>