_includes/comments.html in bfdotcom-theme-0.2.4 vs _includes/comments.html in bfdotcom-theme-0.2.5

- old
+ new

@@ -17,19 +17,20 @@ <div class="form-group"> <label for="commentText">Comment</label> <textarea class="form-control" id="commentText" rows="3"></textarea> </div> <button type="button" class="btn btn-outline-info" id="submitButton" onclick="submitComment()">Add your comment</button> + <div class="spinner-border" role="status" id="submittingComment"> + <span class="sr-only">Submitting comment...</span> + </div> + <div class="alert alert-success" role="alert" id="commentSuccess"> + Your comment has been submitted - it will appear here after it has been approved. + </div> + <div class="alert alert-danger" role="alert" id="commentError"> + There was an error submitting your comment, sorry! + </div> </div> - <div class="spinner-border" role="status" id="submittingComment"> - <span class="sr-only">Submitting comment...</span> - </div> - <div class="alert alert-success" role="alert" id="commentSuccess"> - Your comment has been submitted - it will appear here after it has been approved. - </div> - <div class="alert alert-danger" role="alert" id="commentError"> - There was an error submitting your comment, sorry! - </div> + </div> {%- if comments_size > 0 -%} {%- for comment in comments -%} <hr /> \ No newline at end of file