Make comment field required
This commit is contained in:
parent
4a99d90d1e
commit
6996c25842
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue