-
- {% include 'snippets/privacy_select.html' with current=shelf.privacy %}
-
-
-
+
+
+ {% include 'snippets/privacy_select.html' with current=shelf.privacy uuid=shelf.id no_label=True %}
+
{% endblock %}
diff --git a/bookwyrm/templates/snippets/privacy_select.html b/bookwyrm/templates/snippets/privacy_select.html
index d7184e13..e1053051 100644
--- a/bookwyrm/templates/snippets/privacy_select.html
+++ b/bookwyrm/templates/snippets/privacy_select.html
@@ -1,7 +1,7 @@
{% load i18n %}
{% load utilities %}
- {% with 0|uuid as uuid %}
+ {% firstof uuid 0|uuid as uuid %}
{% if not no_label %}
{% endif %}
@@ -20,6 +20,5 @@
{% trans "Private" %}
- {% endwith %}