forked from mirrors/bookwyrm
29 lines
739 B
HTML
29 lines
739 B
HTML
|
{% extends "components/modal.html" %}
|
||
|
{% load i18n %}
|
||
|
{% load utilities %}
|
||
|
|
||
|
{% block modal-title %}
|
||
|
{% blocktrans trimmed with title=book|book_title %}
|
||
|
Add read dates for "<em>{{ title }}</em>"
|
||
|
{% endblocktrans %}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block modal-form-open %}
|
||
|
<form name="add-readthrough" action="/create-readthrough" method="post">
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block modal-body %}
|
||
|
{% include 'snippets/readthrough_form.html' with readthrough=None %}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block modal-footer %}
|
||
|
<button class="button is-primary" type="submit">{% trans "Add" %}</button>
|
||
|
{% if not static %}
|
||
|
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
|
||
|
{% endif %}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block modal-form-close %}
|
||
|
</form>
|
||
|
{% endblock %}
|