forked from leftypol/leftypol
Enforce maximum length of ban appeal
This commit is contained in:
parent
4a4bb4e856
commit
4a5944795c
3 changed files with 18 additions and 6 deletions
|
@ -136,7 +136,7 @@
|
|||
{% endif %}
|
||||
<form class="ban-appeal" action="" method="post">
|
||||
<input type="hidden" name="ban_id" value="{{ ban.id }}">
|
||||
<textarea name="appeal" rows="4" cols="40"></textarea>
|
||||
<textarea name="appeal" rows="4" cols="40" maxlength="{{ config.ban_appeal_max_chars }}"></textarea>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue