Disable annoy on form pages.
[wolnelektury.git] / src / wolnelektury / templates / forms / includes / built_form.html
1 {% load honeypot %}
2
3 <h1>{{ form.title }}</h1>
4
5     <div class="form-info">
6         {{ form.intro|safe }}
7     </div>
8
9     {{ form_for_form.media }}
10     <form method="POST" action="{{ form.get_absolute_url }}" {% if form_for_form.is_multipart %}enctype="multipart/form-data"{% endif %} class="submit-form">
11     {% csrf_token %}
12     {% render_honeypot_field %}
13     <table>
14         {{ form_for_form.as_table }}
15         {% if form_for_form.fields %}
16             <tr><td></td><td><button>{{ form.button_text }}</button></td></tr>
17         {% endif %}
18     </table>
19     </form>
20