Add search box to top of search results page just because.

This commit is contained in:
Jason McBrayer 2018-06-10 12:44:56 -04:00
parent cffa271394
commit 315d875f9b

View File

@ -18,8 +18,25 @@ mastodon.search("<query>")
{% endcomment %}
{% block content %}
<section>
<form method="get" action="{% url "search_results" %}">
<div class="field has-addons">
<label class="label">{{ form.instance.label }}</label>
<div class="control has-icons-left">
<input type="search" name="q" id="q" class="input">
<span class="icon is-small is-left">
<i class="fa fa-search"></i>
</span>
</div>
<input type="submit" value="Search" class="button is-primary" >
</div>
</form>
<br>
</section>
<h1 class="title">Search results</h1>
<div class="container">
<h2 class="subtitle">Users</h2>