moviewyrm/bookwyrm/templates/user_results.html
2020-09-30 11:33:15 -07:00

17 lines
529 B
HTML

{% extends 'layout.html' %}
{% block content %}
<div class="block">
<h2 class="title">User search results</h2>
{% if not results %}
<p>No results found for "{{ query }}"</p>
{% endif %}
{% for result in results %}
<div class="block">
{% include 'snippets/avatar.html' with user=result %}</h2>
{% include 'snippets/username.html' with user=result show_full=True %}</h2>
{% include 'snippets/follow_button.html' with user=result %}
</div>
{% endfor %}
</div>
{% endblock %}