forked from mirrors/bookwyrm
43 lines
1.3 KiB
HTML
43 lines
1.3 KiB
HTML
{% extends 'components/new_modal.html' %}
|
|
{% load i18n %}
|
|
{% load humanize %}
|
|
|
|
{% block modal-title %}
|
|
{% blocktrans with username=user.username %}Report @{{ username }}{% endblocktrans %}
|
|
{% endblock %}
|
|
|
|
{% block modal-form-open %}
|
|
<form name="report" method="post" action="{% url 'report' %}">
|
|
{% endblock %}
|
|
|
|
{% block modal-body %}
|
|
|
|
{% csrf_token %}
|
|
<input type="hidden" name="reporter" value="{{ reporter.id }}">
|
|
<input type="hidden" name="user" value="{{ user.id }}">
|
|
{% if status %}
|
|
<input type="hidden" name="statuses" value="{{ status.id }}">
|
|
{% endif %}
|
|
|
|
<section class="content">
|
|
<p>{% blocktrans with site_name=site.name %}This report will be sent to {{ site_name }}'s moderators for review.{% endblocktrans %}</p>
|
|
<div class="control">
|
|
<label class="label" for="id_{{ controls_uid }}_report_note">
|
|
{% trans "More info about this report:" %}
|
|
</label>
|
|
<textarea class="textarea" name="note" id="id_{{ controls_uid }}_report_note"></textarea>
|
|
</div>
|
|
</section>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block modal-footer %}
|
|
|
|
<button class="button is-success" type="submit">{% trans "Submit" %}</button>
|
|
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
|
|
|
|
{% endblock %}
|
|
|
|
{% block modal-form-close %}</form>{% endblock %}
|
|
|