Make reports
This commit is contained in:
7
bookwyrm/templates/snippets/report_button.html
Normal file
7
bookwyrm/templates/snippets/report_button.html
Normal file
@ -0,0 +1,7 @@
|
||||
{% load i18n %}
|
||||
<form name="report" method="post" action="{% url 'report' %}">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="reporter" value="{{ request.user.id }}">
|
||||
<input type="hidden" name="user" value="{{ user.id }}">
|
||||
<button class="button is-danger is-light is-small {{ class }}" type="submit">{% trans "Report" %}</button>
|
||||
</form>
|
Reference in New Issue
Block a user