form.html 406 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{% extends "base.html" %}
{% load i18n %}

{% block content %}
<form action="." method="post">
{% csrf_token %}
{% for field in form %}
    <div class="fieldWrapper">
        {{ field.errors }}
        {{ field.label_tag }}: {{ field }} {{ field.help_text }}
    </div>
{% endfor %}
<br />
<div class="form-actions">
    <p><input type="submit" value={% trans 'Send' %} /><p>
</div>
</form>
{% endblock %}