Add alert about reports that nobody will read

Apparently some people don't understand what the report button
is for. Adding this small warning can be considered a success even
if it just leads to one less stupid report.
This commit is contained in:
Nicolas F 2017-06-27 14:40:58 +02:00
parent 081eb16246
commit f1df776410
1 changed files with 6 additions and 0 deletions

View File

@ -189,6 +189,12 @@
<h4 class="modal-title">Report torrent #{{ torrent.id }}</h4>
</div>
<div class="modal-body">
<div class="alert alert-warning" role="alert">
Before submitting a report, please check that the torrent
actually breaks <a href="{{ url_for('site_rules') }}">the
rules</a>. Useless reports like "download is slow" or
"thanks" can get you banned from the site.
</div>
<form method="POST" action="{{ request.url }}/submit_report">
{{ report_form.csrf_token }}
{{ render_field(report_form.reason, class_='form-control', maxlength=255) }}