From 37710144fa9919cdbb30224090d543afdba61eba Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 30 Jan 2021 11:52:31 -0800 Subject: [PATCH] Adds options tempalte --- .../snippets/shelve_button_options.html | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 bookwyrm/templates/snippets/shelve_button_options.html diff --git a/bookwyrm/templates/snippets/shelve_button_options.html b/bookwyrm/templates/snippets/shelve_button_options.html new file mode 100644 index 00000000..84133400 --- /dev/null +++ b/bookwyrm/templates/snippets/shelve_button_options.html @@ -0,0 +1,23 @@ +{% load bookwyrm_tags %} +{% for shelf in shelves %} +{% comparison_bool shelf.identifier active_shelf.shelf.identifier as is_current %} +{% if dropdown %}
  • {% endif %} + +{% if dropdown %}
  • {% endif %} +{% endfor %}