Display 'send follow request' instead of follow if user approves followers #86
This commit is contained in:
parent
1cdd7ea1fc
commit
8f7c5035e4
|
@ -6,7 +6,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>
|
||||||
<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>
|
</form>
|
||||||
{% else %}
|
{% else %}
|
||||||
<form action="/unfollow/" method="post">
|
<form action="/unfollow/" method="post">
|
||||||
|
|
Loading…
Reference in New Issue