feat: Add allow/deny buttons without function
This commit is contained in:
parent
ba1293b58a
commit
9bb54ef885
@ -1,5 +1,5 @@
|
||||
{% load i18n %}
|
||||
<div class="report">
|
||||
<div class="report card">
|
||||
<h2>
|
||||
{% blocktranslate %}
|
||||
Meldung von {{ report.reported_content }}
|
||||
@ -16,4 +16,16 @@
|
||||
<p><b>{% translate "Kommentar zur Meldung" %}:</b>
|
||||
{{ report.user_comment }}
|
||||
</p>
|
||||
<div>
|
||||
<form action="allow" class="">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="report_id" value="{{ report.pk }}">
|
||||
<button class="btn allow" type="submit">{% translate "Inhalt genehmigen" %}</button>
|
||||
</form>
|
||||
<form action="disallow" class="">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="report_id" value="{{ report.pk }}">
|
||||
<button class="btn allow" type="submit">{% translate "Inhalt als gesperrt kennzeichnen" %}</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user