moviewyrm/bookwyrm/templates/snippets/switch_edition_button.html

7 lines
277 B
HTML
Raw Normal View History

2021-02-28 02:48:10 +00:00
{% load i18n %}
2020-12-12 00:57:38 +00:00
<form name="switch-edition" action="/switch-edition" method="POST">
{% csrf_token %}
<input type="hidden" name="edition" value="{{ edition.id }}">
2021-02-28 02:48:10 +00:00
<button type="submit" class="button {{ size }}">{% trans "Switch to this edition" %}</button>
2020-12-12 00:57:38 +00:00
</form>