Make comment field required

This commit is contained in:
Scot Hacker 2019-03-25 23:42:59 -07:00
parent 4a99d90d1e
commit 6996c25842

View file

@ -120,7 +120,7 @@
<form action="" method="post">
{% csrf_token %}
<div class="form-group">
<textarea class="form-control" name="comment-body" rows="3"></textarea>
<textarea class="form-control" name="comment-body" rows="3" required></textarea>
</div>
<input class="btn btn-sm btn-primary" type="submit" name="add_comment" value="Add Comment">
</form>