38 lines
792 B
HTML
38 lines
792 B
HTML
<div class="comment-card">
|
|
<h4>Leave a Comment</h4>
|
|
<form
|
|
role="form"
|
|
method="POST"
|
|
action="{{ url_for('post_comment', post_id=post.id) }}"
|
|
>
|
|
<div class="form-group">
|
|
<input
|
|
type="text"
|
|
name="author"
|
|
class="form-control"
|
|
placeholder="Your Name"
|
|
required
|
|
style="margin-bottom: 15px"
|
|
/>
|
|
|
|
<input
|
|
type="text"
|
|
name="honeypot"
|
|
style="display: none !important"
|
|
tabindex="-1"
|
|
autocomplete="off"
|
|
/>
|
|
|
|
<textarea
|
|
name="content"
|
|
class="form-control"
|
|
rows="4"
|
|
placeholder="Write your thoughts..."
|
|
required
|
|
></textarea>
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary">Post Comment</button>
|
|
</form>
|
|
</div>
|