0c97b65270f6507decd4c1cb6a8ae875cb4437fe
[wolnelektury.git] / src / ajaxable / templates / ajaxable / form.html
1 {% load i18n %}
2
3 <h1>{{ title }}</h1>
4
5 <form action="{% if action_url %}{% url action_url %}{% else %}{{ action }}{% endif %}{% if action_query %}?{{ action_query }}{% endif %}" method="post" accept-charset="utf-8"
6       class="cuteform{% if placeholdize %} hidelabels{% endif %}">
7   {% csrf_token %}
8   {% if honeypot %}
9     {% load honeypot %}
10     {% render_honeypot_field %}
11   {% endif %}
12   <ol>
13     <div id="id_{% if form_prefix %}{{ form_prefix }}-{% endif %}__all__"></div>
14     {% block form_fields %}
15       {{ form.as_ul }}
16     {% endblock %}
17     <li><input type="submit" value="{{ submit }}"/></li>
18   </ol>
19 </form>
20
21 <div class="form-extra">
22   {% block extra %}{% endblock %}
23 </div>