fix suggested members all appearing in a column

This commit is contained in:
Hugh Rundle 2021-10-02 19:35:08 +10:00
parent 8708d71f4b
commit 2c399fe1aa

View file

@ -3,8 +3,8 @@
{% load humanize %}
{% if suggested_users %}
{% for user in suggested_users %}
<div class="column is-flex is-flex-grow-0">
{% for user in suggested_users %}
<div class="box has-text-centered is-shadowless has-background-white-bis m-0">
<a href="{{ user.local_path }}" class="has-text-black">
{% include 'snippets/avatar.html' with user=user large=True %}
@ -33,10 +33,9 @@
</p>
{% endif %}
</div>
</div>
{% endfor %}
{% else %}
<div >
<p>No potential members found for "{{ query }}"</p>
</div>
{% else %}
<p>No potential members found for "{{ query }}"</p><br/>
{% endif %}