summaryrefslogtreecommitdiffstats
path: root/templates/activities/search.html
blob: 3cff2a260ef40c3e1afb604bb23c77a57f3b01c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "base.html" %}

{% block title %}Search{% endblock %}

{% block content %}
    <form action="." method="POST">
        {% csrf_token %}
        <fieldset>
            {% include "forms/_field.html" with field=form.query %}
        </fieldset>
        <div class="buttons">
            <button>Search</button>
        </div>
    </form>
    {% if results.identities %}
        <h2>People</h2>
        {% for identity in results.identities %}
            {% include "activities/_identity.html" %}
        {% endfor %}
    {% endif %}
{% endblock %}