moviewyrm/bookwyrm/templates/snippets/report_button.html

9 lines
415 B
HTML
Raw Normal View History

2021-03-09 02:36:34 +00:00
{% 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 }}">
<input type="hidden" name="statuses" value="{{ user.id }}">
2021-03-09 02:36:34 +00:00
<button class="button is-danger is-light is-small {{ class }}" type="submit">{% trans "Report" %}</button>
</form>