mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
Show 'request already sent' while waiting for response.
This commit is contained in:
parent
05f5315b98
commit
0e34c74647
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
|||
{% if not request.user in user.followers.all %}
|
||||
{% if request.user in user.follower_requests.all %}
|
||||
<div>
|
||||
Follow request already sent.
|
||||
</div>
|
||||
{% elif not request.user in user.followers.all %}
|
||||
<form action="/follow/" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="user" value="{{ user.username }}"></input>
|
||||
|
|
Loading…
Reference in a new issue