moviewyrm/bookwyrm/templates/readthrough/add_readthrough_modal.html
2022-01-11 09:58:28 -08:00

28 lines
742 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 'readthrough/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 %}