-
- {% endfor %}
-
+
+
{% endif %}
{% include "snippets/pagination.html" with page=items %}
diff --git a/bookwyrm/templates/lists/form.html b/bookwyrm/templates/lists/form.html
index 9a000d3f..0019520e 100644
--- a/bookwyrm/templates/lists/form.html
+++ b/bookwyrm/templates/lists/form.html
@@ -1,5 +1,6 @@
{% load i18n %}
{% csrf_token %}
+{% load utilities %}
@@ -31,6 +32,35 @@
{% trans "Open" %}
{% trans "Anyone can add books to this list" %}
+
+
+ {% trans "Group" %}
+ {% trans "Group members can add to and remove from this list" %}
+
+
+
+
+
+
+ {% if user_groups %}
+ {% csrf_token %}
+
{% trans "Select Group" %}
+
+
+
+
+ {% for group in user_groups %}
+ {{ group.name }}
+ {% endfor %}
+
+
+
+ {% else %}
+ {% with user|username as username %}
+ {% url 'user-groups' user|username as url %}
+
{% trans "You must create a " %}
{% trans "Group" %} {% trans " before you can create Group lists!" %}
+ {% endwith %}
+ {% endif %}