Remove old version.
[wolnelektury.git] / src / ajaxable / templates / ajaxable / form.html
old mode 100755 (executable)
new mode 100644 (file)
index 0af34f4..d92b340
@@ -1,22 +1,19 @@
 {% load i18n %}
-{% load ssi_csrf_token from ssify %}
 
 <h1>{{ title }}</h1>
 
 <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>
-    {% block form_fields %}
-      {{ form.as_ul }}
-    {% endblock %}
-    <li><input type="submit" value="{{ submit }}"/></li>
-  </ol>
+  {{ form.as_p }}
+  <p class="helptext">
+    {{ form.data_processing }}
+  </p>
+  <button>{{ submit }}</button>
 </form>
 
 <div class="form-extra">