forked from mirrors/bookwyrm
24 lines
866 B
HTML
24 lines
866 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 }}">
|
|
<input type="hidden" name="start_date" value="{{ readthrough.start_date|date:'Y-m-d' }}">
|
|
{% 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 %}
|