summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorFredrick Brennan <admin@8chan.co>2014-05-05 18:03:51 -0400
committerFredrick Brennan <admin@8chan.co>2014-05-05 18:03:51 -0400
commitd31a3539623640815628b626fd6428abed8a5b5c (patch)
tree317d21c4f8bd94e8fbe34d708ed12f1e83f06246 /templates
parent7f725713a1616860e2a576310005c2b90d56fc98 (diff)
Allow post deletion switch
Diffstat (limited to 'templates')
-rw-r--r--templates/report_delete.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/report_delete.html b/templates/report_delete.html
index 07221120..2fcb7259 100644
--- a/templates/report_delete.html
+++ b/templates/report_delete.html
@@ -1,9 +1,11 @@
+{% if config.allow_delete %}
<div class="delete">
{% trans %}Delete Post{% endtrans %} [<input title="Delete file only" type="checkbox" name="file" id="delete_file" />
<label for="delete_file">{% trans %}File{% endtrans %}</label>] <label for="password">{% trans %}Password{% endtrans %}</label>
<input id="password" type="password" name="password" size="12" maxlength="18" />
<input type="submit" name="delete" value="{% trans %}Delete{% endtrans %}" />
</div>
+{% endif %}
<div class="delete" style="clear:both">
<label for="reason">{% trans %}Reason{% endtrans %}</label>
<input id="reason" type="text" name="reason" size="20" maxlength="30" />