fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[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
963f411
..
3ca76a4
--- a/
src/ajaxable/templates/ajaxable/form.html
+++ b/
src/ajaxable/templates/ajaxable/form.html
@@
-1,22
+1,19
@@
-{% load i18n %}
-{% load ssi_csrf_token from ssify %}
-
<h1>{{ title }}</h1>
<h1>{{ title }}</h1>
-<form action="{
{ request.get_full_path }
}" method="post" accept-charset="utf-8"
-
class="cuteform{% if placeholdize %} hidelabels{% endif %}
">
-
{% ssi_
csrf_token %}
-{% if honeypot %}
+<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
">
+
{%
csrf_token %}
+
{% if honeypot %}
{% load honeypot %}
{% render_honeypot_field %}
{% load honeypot %}
{% render_honeypot_field %}
-{% endif %}
-<ol>
-
<div id="id_{% if form_prefix %}{{ form_prefix }}-{% endif %}__all__"></div
>
- {{ form.
as_ul
}}
-
<li><input type="submit" value="{{ submit }}"/></li
>
-
</ol
>
+
{% endif %}
+ {{ form.as_p }}
+
<p class="helptext"
>
+ {{ form.
data_processing
}}
+
</p
>
+
<button>{{ submit }}</button
>
</form>
<div class="form-extra">
</form>
<div class="form-extra">
-{% block extra %}{% endblock %}
+
{% block extra %}{% endblock %}
</div>
</div>