smaller cards for group members

- this will also enable members to be removed easily by managers in a future commit.
This commit is contained in:
Hugh Rundle 2021-09-25 11:37:08 +10:00
parent 8d17f888ea
commit e800106be4

View file

@ -1,6 +1,20 @@
{% load i18n %}
{% load utilities %}
{% load humanize %}
<div class="block">
<form class="field has-addons" method="get" action="{% url 'group-find-users' group.id %}">
<div class="control">
<input type="text" name="query" value="{{ request.GET.query }}" class="input" placeholder="{% trans 'Search to add a user' %}" aria-label="{% trans 'Search to add a user' %}">
</div>
<div class="control">
<button class="button" type="submit">
<span class="icon icon-search" title="{% trans 'Search' %}">
<span class="is-sr-only">{% trans "Search" %}</span>
</span>
</button>
</div>
</form>
</div>
{% if suggested_users %}
<div class="columns is-mobile scroll-x mb-0">
{% for user in suggested_users %}