mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-27 18:40:31 +00:00
31f74c1a8c
Fixes #106
13 lines
481 B
HTML
13 lines
481 B
HTML
{% load fr_display %}
|
|
{% if request.user|follow_request_exists:user %}
|
|
<form action="/accept_follow_request/" method="POST">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="user" value="{{ user.username }}">
|
|
<button type="submit">Accept</button>
|
|
</form>
|
|
<form action="/delete_follow_request/" method="POST">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="user" value="{{ user.username }}">
|
|
<button type="submit" class="warning">Delete</button>
|
|
</form>
|
|
{% endif %}
|