Fixes progress updates

This commit is contained in:
Mouse Reeve
2022-03-18 19:11:58 -07:00
parent f52b8fc028
commit 287b5603d6
2 changed files with 9 additions and 2 deletions

View File

@ -17,7 +17,14 @@
{% endblock %}
{% block modal-form-open %}
<form name="add-readthrough-{{ readthrough.id }}" action="/create-readthrough" method="post">
<form
name="add-readthrough-{{ readthrough.id }}"
{% if readthrough.id %}
action="{% url 'edit-readthrough' %}"
{% else %}
action="{% url 'create-readthrough' %}"
{% endif %}
method="POST">
{% endblock %}
{% block modal-body %}