From 9d1f1ce84b4ad316e3736f0df0d558c077203344 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 6 Nov 2020 14:01:43 -0800 Subject: [PATCH] tweaks tag markup --- bookwyrm/templates/snippets/status.html | 2 +- bookwyrm/templates/snippets/tag.html | 34 ++++++++++++------------- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/bookwyrm/templates/snippets/status.html b/bookwyrm/templates/snippets/status.html index 45c12dce..1af27ee4 100644 --- a/bookwyrm/templates/snippets/status.html +++ b/bookwyrm/templates/snippets/status.html @@ -119,7 +119,7 @@
{% csrf_token %} -
diff --git a/bookwyrm/templates/snippets/tag.html b/bookwyrm/templates/snippets/tag.html index 38d2cd34..e62167f9 100644 --- a/bookwyrm/templates/snippets/tag.html +++ b/bookwyrm/templates/snippets/tag.html @@ -1,24 +1,22 @@
-
- - {{ tag.name }} - -
+
+ {% csrf_token %} + + + +
+ + {{ tag.name }} + {% if tag.identifier in user_tags %} - - {% csrf_token %} - - - - + {% else %} -
- {% csrf_token %} - - - -
+ {% endif %}
-
+