forked from mirrors/bookwyrm
17 lines
421 B
HTML
17 lines
421 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 id=modal_id status=status.id %}
|
|
|
|
{% endwith %}
|