fix in librarian
[wolnelektury.git] / apps / social / templates / social / sets_form.html
index eff951e..5974a2a 100755 (executable)
@@ -1,14 +1,19 @@
 {% load i18n %}
+{% load ssi_csrf_token from ssify %}
 <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 %}">
+{% ssi_csrf_token %}
     <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>
-</form>
\ No newline at end of file
+</form>