{% load bookwyrm_tags %} {% load utilities %} {% load i18n %} {% with next_shelf_identifier=active_shelf.shelf.identifier|next_shelf %} {% for shelf in shelves %} {% comparison_bool shelf.identifier active_shelf.shelf.identifier as is_current %}