forked from mirrors/bookwyrm
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">
|
<form action="/follow/" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input type="hidden" name="user" value="{{ user.username }}"></input>
|
<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>
|
</form>
|
||||||
{% else %}
|
{% else %}
|
||||||
<form action="/unfollow/" method="post">
|
<form action="/unfollow/" method="post">
|
||||||
|
|
Loading…
Reference in a new issue