Merge branch 'follow_requuest_button' of https://github.com/cthulahoops/fedireads into cthulahoops-follow_requuest_button

This commit is contained in:
Mouse Reeve 2020-03-17 12:37:26 -07:00
commit 4442232096

View file

@ -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">