mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
Merge branch 'follow_requuest_button' of https://github.com/cthulahoops/fedireads into cthulahoops-follow_requuest_button
This commit is contained in:
commit
4442232096
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