bypass ajax for shelf_selector statuses

This commit is contained in:
Hugh Rundle
2021-11-26 17:16:26 +11:00
parent 5b67226571
commit 951eb43aa6
5 changed files with 7 additions and 8 deletions

View File

@ -9,7 +9,7 @@ Want to Read "<em>{{ book_title }}</em>"
{% endblock %}
{% block modal-form-open %}
<form name="shelve" action="{% url 'reading-status' 'want' book.id %}" method="post" class="submit-status">
<form name="shelve" action="{% url 'reading-status' 'want' book.id %}" method="post" {% if not refresh %}class="submit-status"{% endif %}>
<input type="hidden" name="reading_status" value="to-read">
<input type="hidden" name="shelf" value="{{ move_from }}">
{% csrf_token %}