view templates/field.djhtml @ 208:a22259c9862e

Removed redundant code for ratings field and add a separate template file for ratings field. Now ratings will be handled by Jquery.
author Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com>
date Wed, 21 Aug 2013 03:52:06 +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>