Files
flask_blog/templates/leave_comment.html
2026-03-14 20:02:24 +01:00

37 lines
774 B
HTML

<div class="well">
<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: 10px"
/>
<input
type="text"
name="honeypot"
style="display: none !important"
tabindex="-1"
autocomplete="off"
/>
<textarea
name="content"
class="form-control"
rows="3"
placeholder="Write something..."
required
></textarea>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>