moviewyrm/bookwyrm/templates/snippets/reading_modals/progress_update_modal.html

22 lines
737 B
HTML
Raw Normal View History

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