Merge pull request #336 from discomrade/vichan-report-length

vichan downstream: Enforce maximum report length
This commit is contained in:
nonmakina 2021-07-24 10:32:45 +02:00 committed by GitHub
commit 7d23e14cb9
3 changed files with 8 additions and 1 deletions

View file

@ -10,7 +10,7 @@
<div id="report-fields">
<label for="reason">{% trans %}Reason{% endtrans %}</label>
<input id="reason" type="text" name="reason" size="20" maxlength="100" />
<input id="reason" type="text" name="reason" size="20" maxlength="{{ config.report_max_length }}" />
<input type="submit" name="report" value="{% trans %}Report{% endtrans %}" />
</div>
</div>