moviewyrm/bookwyrm/templates/snippets/switch_edition_button.html
2021-02-27 18:48:10 -08:00

6 lines
277 B
HTML

{% load i18n %}
<form name="switch-edition" action="/switch-edition" method="POST">
{% csrf_token %}
<input type="hidden" name="edition" value="{{ edition.id }}">
<button type="submit" class="button {{ size }}">{% trans "Switch to this edition" %}</button>
</form>