fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix in librarian
[wolnelektury.git]
/
apps
/
social
/
templates
/
social
/
sets_form.html
diff --git
a/apps/social/templates/social/sets_form.html
b/apps/social/templates/social/sets_form.html
index
ab982fe
..
5974a2a
100755
(executable)
--- a/
apps/social/templates/social/sets_form.html
+++ b/
apps/social/templates/social/sets_form.html
@@
-1,15
+1,19
@@
{% load i18n %}
{% load i18n %}
+{% load ssi_csrf_token from ssify %}
<h1>{{ title }}</h1>
<h1>{{ title }}</h1>
-<form action="{% url
social_unlike_book
view_kwargs.slug %}" method="post" accept-charset="utf-8"
+<form action="{% url
'social_unlike_book'
view_kwargs.slug %}" method="post" accept-charset="utf-8"
class="cuteform{% if placeholdize %} hidelabels{% endif %}">
class="cuteform{% if placeholdize %} hidelabels{% endif %}">
+{% ssi_csrf_token %}
<input type="submit" value="{% trans "Remove from my shelf" %}"/>
</form>
<input type="submit" value="{% trans "Remove from my shelf" %}"/>
</form>
-<form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8" class="cuteform">
+<form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8"
+ class="cuteform{% if placeholdize %} hidelabels{% endif %}">
+{% ssi_csrf_token %}
<ol>
<div id="id___all__"></div>
{{ form.as_ul }}
<li><input type="submit" value="{{ submit }}"/></li>
</ol>
<ol>
<div id="id___all__"></div>
{{ form.as_ul }}
<li><input type="submit" value="{{ submit }}"/></li>
</ol>
-</form>
\ No newline at end of file
+</form>