forked from mirrors/bookwyrm
17 lines
426 B
HTML
17 lines
426 B
HTML
{% load i18n %}
|
|
{% load utilities %}
|
|
|
|
{% with 0|uuid as report_uuid %}
|
|
|
|
{% join "report" report_uuid as modal_id %}
|
|
<button
|
|
class="button is-small is-danger is-light is-fullwidth"
|
|
type="button"
|
|
data-modal-open="{{ modal_id }}"
|
|
{% if is_current %}disabled{% endif %}
|
|
>
|
|
{% trans "Report" %}
|
|
</button>
|
|
{% include 'snippets/report_modal.html' with user=user reporter=request.user id=modal_id %}
|
|
|
|
{% endwith %}
|