<form{{ form.attrs }}>{% if form.attrs.method == 'post' %}<input type="hidden" name="csrfmiddlewaretoken" value="{{csrf_token}}"/>{% endif %}

    {% for error in form.errors %}
    {# TODO: style classes.. and why isn't this just {{ form.errors? }} #}
    <div class="error">{{ error }}</div>
    {% endfor %}

    {{ form.render_fields }}

    {{ form.render_actions }}
</form>

