2020-12-12 21:25:04 -05:00
|
|
|
{% load bookwyrm_tags %}
|
2020-03-29 19:18:04 -04:00
|
|
|
{% if request.user|follow_request_exists:user %}
|
2020-11-11 00:34:26 -05:00
|
|
|
<form action="/accept-follow-request/" method="POST">
|
2020-03-13 10:58:30 -04:00
|
|
|
{% csrf_token %}
|
2020-03-16 19:10:59 -04:00
|
|
|
<input type="hidden" name="user" value="{{ user.username }}">
|
2020-12-30 15:12:32 -05:00
|
|
|
<button class="button is-link is-small" type="submit">Accept</button>
|
2020-03-13 10:58:30 -04:00
|
|
|
</form>
|
2020-11-11 00:34:26 -05:00
|
|
|
<form action="/delete-follow-request/" method="POST">
|
2020-03-13 10:58:30 -04:00
|
|
|
{% csrf_token %}
|
2020-03-16 19:10:59 -04:00
|
|
|
<input type="hidden" name="user" value="{{ user.username }}">
|
2020-11-09 15:10:37 -05:00
|
|
|
<button class="button is-danger is-light is-small" type="submit" class="warning">Delete</button>
|
2020-03-13 10:58:30 -04:00
|
|
|
</form>
|
2020-03-29 19:18:04 -04:00
|
|
|
{% endif %}
|