Remove unneded executable bits.
[wolnelektury.git] / src / ajaxable / templates / ajaxable / form.html
old mode 100755 (executable)
new mode 100644 (file)
index af98d51..0c97b65
@@ -1,18 +1,19 @@
 {% load i18n %}
-{% load ssi_csrf_token from ssify %}
 
 <h1>{{ title }}</h1>
 
-<form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8"
+<form action="{% if action_url %}{% url action_url %}{% else %}{{ action }}{% endif %}{% if action_query %}?{{ action_query }}{% endif %}" method="post" accept-charset="utf-8"
       class="cuteform{% if placeholdize %} hidelabels{% endif %}">
-  {% ssi_csrf_token %}
+  {% csrf_token %}
   {% if honeypot %}
     {% load honeypot %}
     {% render_honeypot_field %}
   {% endif %}
   <ol>
     <div id="id_{% if form_prefix %}{{ form_prefix }}-{% endif %}__all__"></div>
-    {{ form.as_ul }}
+    {% block form_fields %}
+      {{ form.as_ul }}
+    {% endblock %}
     <li><input type="submit" value="{{ submit }}"/></li>
   </ol>
 </form>