view templates/field.djhtml @ 160:a5547f079190

Fix bug in registration django-registration's RegistrationForm isn't a ModelForm, it's just a Form, so there's no save method. Have to create the account manually.
author dellsystem <ilostwaldo@gmail.com>
date Mon, 15 Oct 2012 02:24:01 -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>