1
0
Fork 0

Followers and following lists

This commit is contained in:
Mouse Reeve 2020-01-29 11:45:19 -08:00
parent 77bab24834
commit a9d938fbb2
6 changed files with 169 additions and 39 deletions

View file

@ -2,11 +2,13 @@
{% block content %}
<div id="content">
{% 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>
<div>
<h2>{{ result.username }}</h2>
<form action="/follow/" method="post">
<input type="hidden" name="user" value="{{ result.id }}"></input>
<input type="submit" value="Follow"></input>
</form>
</div>
{% endfor %}
</div>
{% endblock %}