mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
Adds search results template
This commit is contained in:
parent
c4ce4ae47e
commit
f03f370f60
1 changed files with 13 additions and 0 deletions
13
fedireads/templates/results.html
Normal file
13
fedireads/templates/results.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% extends 'layout.html' %}
|
||||
{% block content %}
|
||||
<div id="main">
|
||||
{% for result in results %}
|
||||
{{ result.username }}
|
||||
<form action="/follow/" method="post">
|
||||
<input type="hidden" name="user" value="{{ result.id }}"></input>
|
||||
<input type="submit" value="Follow"></input>
|
||||
</form>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in a new issue