diff --git a/templates/partials/_add_remove_button.html b/templates/partials/_add_remove_button.html index a8b8dfd..cd91833 100644 --- a/templates/partials/_add_remove_button.html +++ b/templates/partials/_add_remove_button.html @@ -4,9 +4,18 @@ hx-vals='{"item_id": "{{ item.id }}", "item_name": "{{ item.name }}"}'> + {% elif item.can_remove %} - -{% endif %} \ No newline at end of file +{% endif %} +{% if session['is_admin'] and item.can_remove %} + + +{% endif%} \ No newline at end of file diff --git a/templates/partials/_spotify_item.html b/templates/partials/_spotify_item.html index 50df09f..0ffd45d 100644 --- a/templates/partials/_spotify_item.html +++ b/templates/partials/_spotify_item.html @@ -1,4 +1,4 @@ -
+