moviewyrm/bookwyrm/templates/snippets/reading_modals/want_to_read_modal.html

21 lines
704 B
HTML
Raw Normal View History

{% extends 'snippets/reading_modals/layout.html' %}
{% load i18n %}
{% load utilities %}
{% block modal-title %}
{% blocktrans trimmed with book_title=book|book_title %}
Want to Read "<em>{{ book_title }}</em>"
{% endblocktrans %}
{% endblock %}
{% block modal-form-open %}
2021-12-29 19:31:26 +00:00
<form name="want-to-read-{{ uuid }}" action="{% url 'reading-status' 'want' book.id %}" method="post" {% if not refresh %}class="submit-status"{% endif %}>
2021-08-16 22:00:35 +00:00
<input type="hidden" name="reading_status" value="to-read">
<input type="hidden" name="shelf" value="{{ move_from }}">
2021-08-16 19:28:04 +00:00
{% csrf_token %}
{% endblock %}
2021-09-29 22:35:08 +00:00
{% block form %}
{% include "snippets/reading_modals/form.html" with optional=True type="want_modal" %}
{% endblock %}