Functional switch editions button
This commit is contained in:
parent
72eb94315a
commit
2d7f8ada61
5 changed files with 43 additions and 13 deletions
|
@ -1,3 +1,5 @@
|
|||
<div>
|
||||
<button class="button">Switch to this edition</button>
|
||||
</div>
|
||||
<form name="switch-edition" action="/switch-edition" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="edition" value="{{ edition.id }}">
|
||||
<button class="button">Switch to this edition</button>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue