moviewyrm/fedireads/templates/user_results.html

17 lines
426 B
HTML
Raw Normal View History

2020-01-28 05:31:34 +00:00
{% extends 'layout.html' %}
{% block content %}
2020-01-29 01:23:38 +00:00
<div id="content">
2020-01-28 05:31:34 +00:00
{% for result in results %}
2020-01-29 19:45:19 +00:00
<div>
<h2>{{ result.username }}</h2>
<form action="/follow/" method="post">
2020-01-29 23:55:48 +00:00
{% csrf_token %}
2020-01-29 19:45:19 +00:00
<input type="hidden" name="user" value="{{ result.id }}"></input>
<input type="submit" value="Follow"></input>
</form>
</div>
2020-01-28 05:31:34 +00:00
{% endfor %}
</div>
{% endblock %}