Save reading status update

This commit is contained in:
Mouse Reeve
2021-08-16 13:32:20 -07:00
parent 2d20fa4146
commit 48c6a3923a
5 changed files with 6 additions and 1 deletions

View File

@ -11,6 +11,7 @@ Finish "<em>{{ book_title }}</em>"
{% block modal-form-open %}
<form name="finish-reading" action="{% url 'reading-status' 'finish' book.id %}" method="post">
{% csrf_token %}
<input type="hidden" name="reading_status" value="read">
{% endblock %}
{% block reading-dates %}

View File

@ -10,6 +10,7 @@ Start "<em>{{ book_title }}</em>"
{% block modal-form-open %}
<form name="start-reading" action="{% url 'reading-status' 'start' book.id %}" method="post">
<input type="hidden" name="reading_status" value="reading">
{% csrf_token %}
{% endblock %}

View File

@ -10,5 +10,6 @@ Want to Read "<em>{{ book_title }}</em>"
{% block modal-form-open %}
<form name="shelve" action="{% url 'reading-status' 'want' book.id %}" method="post">
<input type="hidden" name="reading_status" value="toRead">
{% csrf_token %}
{% endblock %}