commit b6089f7f56a95efd70efc0eda01c7bb6ed755d19
parent ab88882ffc4699909e437cd9c39e8c8cc7242562
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 4 Jan 2020 20:13:23 -0600
Make comment content mandatory
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/layouts/partials/comment_form.html b/layouts/partials/comment_form.html
@@ -8,7 +8,8 @@
placeholder="{{ i18n "hyperskip-name-default" }}"/>
<br/><br/>
<label for="comment">{{ i18n "hyperskip-comment" }}</label><br/>
- <textarea id="comment"
+ <textarea required
+ id="comment"
name="comment"
rows="8"
minlength="3"