forked from mirrors/bookwyrm
9ffe4d340e
- unhide reading status shelves - trigger modals when moving to a read status shelf - force page refresh when using move button
20 lines
656 B
HTML
20 lines
656 B
HTML
{% 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 %}
|
|
<form name="shelve" action="{% url 'reading-status' 'want' book.id %}" method="post" class="submit-status">
|
|
<input type="hidden" name="reading_status" value="to-read">
|
|
<input type="hidden" name="shelf" value="{{ move_from }}">
|
|
{% csrf_token %}
|
|
{% endblock %}
|
|
|
|
{% block form %}
|
|
{% include "snippets/reading_modals/form.html" with optional=True type="want_modal" %}
|
|
{% endblock %}
|