2020-12-13 02:25:04 +00:00
|
|
|
{% load bookwyrm_tags %}
|
2020-03-29 23:18:04 +00:00
|
|
|
{% if request.user|follow_request_exists:user %}
|
2020-12-31 01:36:35 +00:00
|
|
|
<div class="field is-grouped">
|
|
|
|
<form action="/accept-follow-request/" method="POST">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" name="user" value="{{ user.username }}">
|
|
|
|
<button class="button is-link is-small" type="submit">Accept</button>
|
|
|
|
</form>
|
|
|
|
<form action="/delete-follow-request/" method="POST">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" name="user" value="{{ user.username }}">
|
|
|
|
<button class="button is-danger is-light is-small" type="submit" class="warning">Delete</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2020-03-29 23:18:04 +00:00
|
|
|
{% endif %}
|