moviewyrm/bookwyrm/templates/readthrough/add_readthrough_modal.html

29 lines
742 B
HTML
Raw Normal View History

2022-01-11 17:50:04 +00:00
{% 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 %}
2022-01-11 17:58:28 +00:00
{% include 'readthrough/readthrough_form.html' with readthrough=None %}
2022-01-11 17:50:04 +00:00
{% 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 %}