improve new group member adding

The add-members page now looks almost identical to the group
page and is clearer.
This commit is contained in:
Hugh Rundle
2021-09-27 21:21:00 +10:00
parent 1a02af1450
commit e15eef16c5
4 changed files with 29 additions and 42 deletions

View File

@ -1,20 +1,7 @@
{% 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 %}