Fix comment length checking

This commit is contained in:
rubenwardy
2020-07-29 17:33:12 +01:00
parent a8a3067ac9
commit e931d6a88b
3 changed files with 4 additions and 4 deletions

View File

@@ -85,7 +85,7 @@
{% else %}
<form method="post" action="{{ url_for('threads.view', id=thread.id)}}" class="card-body">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<textarea class="form-control markdown" required maxlength=500 name="comment"></textarea><br />
<textarea class="form-control markdown" required maxlength=2000 name="comment"></textarea><br />
<input class="btn btn-primary" type="submit" value="Comment" />
</form>
{% endif %}