+
{% include 'snippets/avatar.html' with user=user large=True %}
{{ user.display_name|truncatechars:10 }}
@{{ user|username|truncatechars:8 }}
- {% include 'snippets/add_to_group_button.html' with user=user group=group minimal=True %}
+ {% include 'snippets/add_to_group_button.html' with user=user group=group %}
{% if user.mutuals %}
{% blocktrans trimmed with mutuals=user.mutuals|intcomma count counter=user.mutuals %}
@@ -36,7 +36,7 @@
{% endfor %}
{% else %}
-
No potential members found for "{{ query }}"
+
No potential members found for "{{ user_query }}"
{% endif %}
diff --git a/bookwyrm/templates/snippets/add_to_group_button.html b/bookwyrm/templates/snippets/add_to_group_button.html
index fd94f14d..2785d7c0 100644
--- a/bookwyrm/templates/snippets/add_to_group_button.html
+++ b/bookwyrm/templates/snippets/add_to_group_button.html
@@ -5,18 +5,14 @@
{% include 'snippets/block_button.html' with blocks=True %}
{% else %}
-
+
diff --git a/bookwyrm/templates/snippets/remove_from_group_button.html b/bookwyrm/templates/snippets/remove_from_group_button.html
index 809d1d1f..d5fa29a9 100644
--- a/bookwyrm/templates/snippets/remove_from_group_button.html
+++ b/bookwyrm/templates/snippets/remove_from_group_button.html
@@ -6,18 +6,17 @@
{% include 'snippets/block_button.html' with blocks=True %}
{% endif %}
-