mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-06 15:39:38 +00:00
29 lines
826 B
HTML
29 lines
826 B
HTML
{% 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 %}
|
|
{% if results.hashtags %}
|
|
<h2>Hashtags</h2>
|
|
<section class="icon-menu">
|
|
{% for hashtag in results.hashtags %}
|
|
{% include "activities/_hashtag.html" with hide_stats=True %}
|
|
{% endfor %}
|
|
</section>
|
|
{% endif %}
|
|
{% endblock %}
|