{% extends 'components/dropdown.html' %} {% load i18n %} {% load bookwyrm_tags %} {% load utilities %} {% block dropdown-trigger %} {% trans "Move book" %} {% endblock %} {% block dropdown-list %} {% with book.id|uuid as uuid %} {% active_shelf book as active_shelf %} {% for shelf in user_shelves %} {% if shelf.editable %} {% else%} {% with button_class="is-fullwidth is-small shelf-option is-radiusless is-white" %} {% endwith %} {% endif %} {% endfor %} {% include 'snippets/reading_modals/want_to_read_modal.html' with book=active_shelf.book controls_text="want_to_read" controls_uid=uuid move_from=current.id %} {% include 'snippets/reading_modals/start_reading_modal.html' with book=active_shelf.book controls_text="start_reading" controls_uid=uuid move_from=current.id %} {% include 'snippets/reading_modals/finish_reading_modal.html' with book=active_shelf.book controls_text="finish_reading" controls_uid=uuid move_from=current.id readthrough=readthrough %} {% include 'snippets/reading_modals/progress_update_modal.html' with book=active_shelf.book controls_text="progress_update" controls_uid=uuid move_from=current.id readthrough=readthrough %} {% endwith %} {% endblock %}