view templates/field.djhtml @ 171:a57d15b044a7

Add help_text to name field for bundles Explains that the name field is meant to hold a slug, etc.
author dellsystem <ilostwaldo@gmail.com>
date Sat, 20 Oct 2012 00:29:49 -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>