2021-02-27 21:48:10 -05:00
|
|
|
{% load i18n %}
|
2021-05-11 17:04:45 -04:00
|
|
|
{% if request.user in user.follow_requests.all %}
|
2020-12-30 20:36:35 -05:00
|
|
|
<div class="field is-grouped">
|
|
|
|
<form action="/accept-follow-request/" method="POST">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" name="user" value="{{ user.username }}">
|
2021-02-27 21:48:10 -05:00
|
|
|
<button class="button is-link is-small" type="submit">{% trans "Accept" %}</button>
|
2020-12-30 20:36:35 -05:00
|
|
|
</form>
|
|
|
|
<form action="/delete-follow-request/" method="POST">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" name="user" value="{{ user.username }}">
|
2021-02-27 21:48:10 -05:00
|
|
|
<button class="button is-danger is-light is-small" type="submit" class="warning">{% trans "Delete" %}</button>
|
2020-12-30 20:36:35 -05:00
|
|
|
</form>
|
|
|
|
</div>
|
2020-03-29 19:18:04 -04:00
|
|
|
{% endif %}
|