fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #3252: Gallery title (and Librarian bump).
[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
eff951e
..
2f4a1d3
100755
(executable)
--- a/
apps/social/templates/social/sets_form.html
+++ b/
apps/social/templates/social/sets_form.html
@@
-1,14
+1,18
@@
{% load i18n %}
<h1>{{ title }}</h1>
{% load i18n %}
<h1>{{ title }}</h1>
-<form action="{% url social_unlike_book view_kwargs.slug %}" method="post" accept-charset="utf-8" class="cuteform">
+<form action="{% url 'social_unlike_book' view_kwargs.slug %}" method="post" accept-charset="utf-8"
+ class="cuteform{% if placeholdize %} hidelabels{% endif %}">
+{% 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 %}">
+{% 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>