forked from mirrors/bookwyrm
Adds follow button
This commit is contained in:
parent
c7edfe874e
commit
5aa16593ee
1 changed files with 7 additions and 1 deletions
|
@ -32,7 +32,13 @@
|
|||
<div>
|
||||
<h2>Followers</h2>
|
||||
{% for follower in user.followers.all %}
|
||||
<div>
|
||||
<a href="{{ follower.actor }}">{{ follower.username }}</a>
|
||||
<form action="/follow/" method="post">
|
||||
<input type="hidden" name="user" value="{{ follower.id }}"></input>
|
||||
<input type="submit" value="Follow"></input>
|
||||
</form>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue