forked from mirrors/bookwyrm
4ba9b7a119
still needs to expand user search to do database lookups
18 lines
546 B
HTML
18 lines
546 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 %}
|
|
{{ result }}
|
|
<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 %}
|
|
|