2021-08-28 12:41:36 -04:00
|
|
|
{% extends 'snippets/reading_modals/layout.html' %}
|
2021-03-20 20:18:18 -04:00
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block modal-title %}
|
|
|
|
{% trans "Update progress" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block modal-form-open %}
|
2021-12-29 14:31:26 -05:00
|
|
|
<form name="reading-progress-{{ uuid }}" action="{% url 'reading-status-update' book.id %}" method="POST" class="submit-status">
|
2021-09-28 12:23:50 -04:00
|
|
|
{% csrf_token %}
|
2021-09-29 13:59:36 -04:00
|
|
|
<input type="hidden" name="id" value="{{ readthrough.id }}">
|
2021-03-20 20:18:18 -04:00
|
|
|
{% endblock %}
|
|
|
|
|
2021-08-28 12:41:36 -04:00
|
|
|
{% block reading-dates %}
|
2021-09-29 18:46:54 -04:00
|
|
|
<label for="id_progress_{{ readthrough.id }}{{ controls_uid }}" class="label">{% trans "Progress:" %}</label>
|
2021-08-28 12:41:36 -04:00
|
|
|
{% include "snippets/progress_field.html" with progress_required=True %}
|
2021-03-20 20:18:18 -04:00
|
|
|
{% endblock %}
|
2021-09-29 18:35:08 -04:00
|
|
|
|
|
|
|
{% block form %}
|
|
|
|
{% include "snippets/reading_modals/form.html" with optional=False type="update_modal" %}
|
|
|
|
{% endblock %}
|