fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove old version.
[wolnelektury.git]
/
src
/
ajaxable
/
templates
/
ajaxable
/
form.html
diff --git
a/src/ajaxable/templates/ajaxable/form.html
b/src/ajaxable/templates/ajaxable/form.html
old mode 100755
(executable)
new mode 100644
(file)
index
3363bc8
..
d92b340
--- a/
src/ajaxable/templates/ajaxable/form.html
+++ b/
src/ajaxable/templates/ajaxable/form.html
@@
-1,22
+1,19
@@
{% load i18n %}
{% load i18n %}
-{% load ssi_csrf_token from ssify %}
<h1>{{ title }}</h1>
<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 %}">
class="cuteform{% if placeholdize %} hidelabels{% endif %}">
- {%
ssi_
csrf_token %}
+ {% csrf_token %}
{% if honeypot %}
{% load honeypot %}
{% render_honeypot_field %}
{% endif %}
{% 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">
</form>
<div class="form-extra">