2021-08-16 18:30:11 +00:00
|
|
|
{% extends 'snippets/reading_modals/layout.html' %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% load utilities %}
|
|
|
|
|
|
|
|
{% block modal-title %}
|
|
|
|
{% blocktrans trimmed with book_title=book|book_title %}
|
|
|
|
Start "<em>{{ book_title }}</em>"
|
|
|
|
{% endblocktrans %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block modal-form-open %}
|
2021-11-26 06:16:26 +00:00
|
|
|
<form name="start-reading" action="{% url 'reading-status' 'start' book.id %}" method="post" {% if not refresh %}class="submit-status"{% endif %}>
|
2021-08-16 20:32:20 +00:00
|
|
|
<input type="hidden" name="reading_status" value="reading">
|
2021-11-19 21:06:13 +00:00
|
|
|
<input type="hidden" name="shelf" value="{{ move_from }}">
|
2021-08-16 19:47:12 +00:00
|
|
|
{% csrf_token %}
|
2021-08-16 18:30:11 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block reading-dates %}
|
|
|
|
<div class="field">
|
|
|
|
<label class="label" for="start_id_start_date_{{ uuid }}">
|
|
|
|
{% trans "Started reading" %}
|
|
|
|
</label>
|
|
|
|
<input type="date" name="start_date" class="input" id="start_id_start_date_{{ uuid }}" value="{% now "Y-m-d" %}">
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
2021-09-29 22:35:08 +00:00
|
|
|
|
|
|
|
{% block form %}
|
|
|
|
{% include "snippets/reading_modals/form.html" with optional=True type="start_modal" %}
|
|
|
|
{% endblock %}
|