4a8807f173208ae58254adba19b817c67e1be7b2
[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         <tr><td></td><td><button>{{ form.button_text }}</button></td></tr>
16     </table>
17     </form>
18