| 1 | <html> |
| 2 | <body> |
| 3 | {% for comment in comments %} |
| 4 | <p>{{ comment }}</p> |
| 5 | {% endfor %} |
| 6 | <form method="POST" action="{{ url_for('add_comment') }}"> |
| 7 | {{ form.csrf_token }} |
| 8 | <p> |
| 9 | {{ form.comment.label }}<br> |
| 10 | {{ form.comment(rows=5, cols=40) }} |
| 11 | </p> |
| 12 | <p> |
| 13 | {% for error in form.recaptcha.errors %} |
| 14 | {{ error }} |
| 15 | {% endfor %} |
| 16 | {{ form.recaptcha }} |
| 17 | </p> |
| 18 | <p> |
| 19 | <input type="submit" value="Add comment"> |
| 20 | </p> |
| 21 | </form> |
| 22 | </body> |
| 23 | </html> |