moviewyrm/bookwyrm/templates/snippets/report_button.html

12 lines
471 B
HTML
Raw Normal View History

2021-03-09 02:36:34 +00:00
{% load i18n %}
2021-05-11 21:41:28 +00:00
{% load utilities %}
2021-03-12 01:38:21 +00:00
{% with 0|uuid as report_uuid %}
{% trans "Report" as button_text %}
{% include 'snippets/toggle/toggle_button.html' with class="is-danger is-light is-small is-fullwidth" text=button_text controls_text="report" controls_uid=report_uuid focus="modal_title_report" disabled=is_current %}
2021-03-12 01:38:21 +00:00
{% include 'moderation/report_modal.html' with user=user reporter=request.user controls_text="report" controls_uid=report_uuid %}
{% endwith %}