Want to read view

This commit is contained in:
Mouse Reeve
2021-06-08 11:23:53 -07:00
parent 45146b4999
commit 1231d40e80
9 changed files with 72 additions and 20 deletions

View File

@ -6,7 +6,7 @@
{% endblock %}
{% block modal-form-open %}
<form name="shelve" action="/shelve/" method="post">
<form name="shelve" action="{% url 'to-read' book.id %}" method="post">
{% csrf_token %}
<input type="hidden" name="book" value="{{ active_shelf.book.id }}">
<input type="hidden" name="shelf" value="to-read">