moviewyrm/fedireads/templates/snippets/shelve-button.html

8 lines
302 B
HTML
Raw Normal View History

2020-02-21 23:39:25 +00:00
{% load fr_display %}
<form name="shelve" action="/shelve/{{ user.localname }}/{% shelve_button_identifier book %}/{{ book.id }}" method="post">
{% csrf_token %}
<input type="hidden" name="book" value="book.id"></input>
<button type="submit">{% shelve_button_text book %}</button>
</form>