moviewyrm/bookwyrm/templates/book/sync_modal.html

27 lines
823 B
HTML
Raw Normal View History

{% extends 'components/modal.html' %}
2021-12-07 20:41:11 +00:00
{% load i18n %}
{% block modal-title %}
{% trans "Load data" %}
{% endblock %}
{% block modal-form-open %}
<form name="{{ source }}-update" method="POST" action="{% url 'book-update-remote' book.id source %}">
{% csrf_token %}
{% endblock %}
{% block modal-body %}
<p>
{% blocktrans trimmed %}
Loading data will connect to <strong>{{ source_name }}</strong> and check for any metadata about this book which aren't present here. Existing metadata will not be overwritten.
{% endblocktrans %}
</p>
{% endblock %}
{% block modal-footer %}
2021-12-30 22:19:31 +00:00
<button class="button is-primary" type="submit">{% trans "Confirm" %}</button>
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
2021-12-07 20:41:11 +00:00
{% endblock %}
{% block modal-form-close %}</form>{% endblock %}