forked from mirrors/bookwyrm
23 lines
776 B
HTML
23 lines
776 B
HTML
{% extends 'snippets/reading_modals/layout.html' %}
|
|
{% load i18n %}
|
|
{% load utilities %}
|
|
|
|
{% block modal-title %}
|
|
{% trans "Update progress" %}
|
|
{% endblock %}
|
|
|
|
{% block modal-form-open %}
|
|
<form name="reading-progress-{{ uuid }}" action="{% url 'reading-status-update' book.id %}" method="POST" class="submit-status">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="id" value="{{ readthrough.id }}">
|
|
{% endblock %}
|
|
|
|
{% block reading-dates %}
|
|
{% join "id_progress" uuid as field_id %}
|
|
<label for="{{ field_id }}" class="label">{% trans "Progress:" %}</label>
|
|
{% include "snippets/progress_field.html" with progress_required=True id=field_id %}
|
|
{% endblock %}
|
|
|
|
{% block form %}
|
|
{% include "snippets/reading_modals/form.html" with optional=False type="update_modal" %}
|
|
{% endblock %}
|