Fixes #4145: duplicate audio parts.
[wolnelektury.git] / src / ajaxable / templates / ajaxable / form.html
old mode 100755 (executable)
new mode 100644 (file)
index 3363bc8..0c97b65
@@ -1,11 +1,10 @@
 {% load i18n %}
-{% load ssi_csrf_token from ssify %}
 
 <h1>{{ title }}</h1>
 
-<form action="{{ action }}" 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 %}