mirror of
https://github.com/YGGverse/mb.git
synced 2026-03-31 17:15:28 +00:00
add post_max_chars config option
This commit is contained in:
parent
d66dd6fe05
commit
0f9105d14a
4 changed files with 9 additions and 2 deletions
|
|
@ -2,7 +2,9 @@
|
|||
{% block content %}
|
||||
{% if token %}
|
||||
<form action="/submit" method="post">
|
||||
<textarea name="message" placeholder="Enter your message..."></textarea>
|
||||
<textarea name="message"
|
||||
placeholder="Enter your message..."
|
||||
{% if post_max_chars %}maxlength="{{ post_max_chars }}"{% endif %}></textarea>
|
||||
<input type="hidden" name="token" value="{{ token }}" />
|
||||
<input type="submit" value="Submit" />
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue