summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael <mail@raphaelkabo.com>2023-07-08 08:18:34 +1000
committerGitHub <noreply@github.com>2023-07-08 08:18:34 +1000
commitcd53861e2823ca692931894ba5a89d460bc326c8 (patch)
treee85c255856700bee86f7edc915990cfb5c8866cd
parent6368de679b391d6c6d9d404e40d88b537c88f317 (diff)
parent14e0148a92cab8ec23411462d8d7dde8b4f735ac (diff)
Merge pull request #101 from dev-nicolaos/comment-ui-improvements
add labels for comment form inputs
-rwxr-xr-xviews/event.handlebars4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/event.handlebars b/views/event.handlebars
index 88856f3..6694ea2 100755
--- a/views/event.handlebars
+++ b/views/event.handlebars
@@ -263,12 +263,14 @@
<h5 class="card-header">Discussion</h5>
<div class="card-body">
<form id="commentForm" action="/post/comment/{{eventData.id}}/" method="post">
+ <label for="commentAuthor">Name</label>
<div class="form-group">
<input type="text" class="form-control" id="commentAuthor" name="commentAuthor" placeholder="Your name" data-validation="required length" data-validation-length="1-60">
</div>
+ <label for="commentContent">Comment</label>
<div class="form-group">
<div class="input-group">
- <textarea class="form-control" id="commentContent" name="commentContent" style="resize: none;" placeholder="What would you like to ask?" data-validation="required length" data-validation-length="1-280"></textarea>
+ <textarea class="form-control" id="commentContent" name="commentContent" style="resize: none;" placeholder="What would you like to say?" data-validation="required length" data-validation-length="1-280"></textarea>
<div class="input-group-append">
<button type="submit" class="btn btn-primary btn-block h-100" id="postComment">Send <i class="fas fa-chevron-right"></i></button>
</div>