mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-30 03:50:40 +00:00
Display 'send follow request' instead of follow if user approves followers #86
This commit is contained in:
parent
1cdd7ea1fc
commit
8f7c5035e4
1 changed files with 5 additions and 1 deletions
|
@ -6,7 +6,11 @@ Follow request already sent.
|
|||
<form action="/follow/" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="user" value="{{ user.username }}"></input>
|
||||
<input type="submit" value="Follow"></input>
|
||||
{% if user.manually_approves_followers %}
|
||||
<input type="submit" value="Send follow request"></input>
|
||||
{% else %}
|
||||
<input type="submit" value="Follow"></input>
|
||||
{% endif %}
|
||||
</form>
|
||||
{% else %}
|
||||
<form action="/unfollow/" method="post">
|
||||
|
|
Loading…
Reference in a new issue