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