Skip to content

Commit

Permalink
Make comment field required
Browse files Browse the repository at this point in the history
  • Loading branch information
shacker committed Mar 26, 2019
1 parent 4a99d90 commit 6996c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion todo/templates/todo/task_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ <h5>Add comment</h5>
<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>
Expand Down

0 comments on commit 6996c25

Please sign in to comment.