moviewyrm/fedireads/templates/user_results.html
2020-01-29 15:55:48 -08:00

16 lines
426 B
HTML

{% extends 'layout.html' %}
{% block content %}
<div id="content">
{% for result in results %}
<div>
<h2>{{ result.username }}</h2>
<form action="/follow/" method="post">
{% csrf_token %}
<input type="hidden" name="user" value="{{ result.id }}"></input>
<input type="submit" value="Follow"></input>
</form>
</div>
{% endfor %}
</div>
{% endblock %}