Followers and following lists
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user