Close modals after submit

This commit is contained in:
Mouse Reeve
2021-09-09 08:06:36 -07:00
parent 053e2cea0d
commit 49f1226f3a
5 changed files with 10 additions and 4 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">
<form name="shelve" action="{% url 'reading-status' 'want' book.id %}" method="post" class="submit-status">
<input type="hidden" name="reading_status" value="to-read">
{% csrf_token %}
{% endblock %}