forked from mirrors/bookwyrm
Merge branch 'cthulahoops-follow_requuest_button'
This commit is contained in:
commit
706c56348e
1 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,11 @@ Follow request already sent.
|
|||
<form action="/follow/" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="user" value="{{ user.username }}"></input>
|
||||
<button type="submit">Follow</button>
|
||||
{% if user.manually_approves_followers %}
|
||||
<button type="submit">Send follow request</button>
|
||||
{% else %}
|
||||
<button type="submit">Follow</button>
|
||||
{% endif %}
|
||||
</form>
|
||||
{% else %}
|
||||
<form action="/unfollow/" method="post">
|
||||
|
|
Loading…
Reference in a new issue