Matthias Andreas Benkard | 14e5944 | 2022-05-24 22:19:29 +0200 | [diff] [blame^] | 1 | {@java.lang.Integer postId} |
| 2 | |
| 3 | <div class="comment-box"> |
| 4 | <script type="module" src="/lib.js"></script> |
| 5 | <script type="module" src="/posts/commentBox.js"></script> |
| 6 | |
| 7 | <hr/> |
| 8 | |
| 9 | <form class="comment-form pure-form" method="post" action="/posts/{postId}/comments"> |
| 10 | <fieldset> |
| 11 | <legend>Post Comment</legend> |
| 12 | |
| 13 | <label for="comment-form-author-{postId}">Author (optional)</label> |
| 14 | <input name="author" id="comment-form-author-{postId}" type="text" placeholder="Anonymous Coward"/> |
| 15 | |
| 16 | <label for="comment-form-message-{postId}">Message</label> |
| 17 | <textarea name="message" id="comment-form-message-{postId}" placeholder="Great article!" required></textarea> |
| 18 | |
| 19 | <input name="hashcash-salt" id="comment-form-hashcash-salt-{postId}" type="hidden"/> |
| 20 | |
| 21 | <div class="controls"> |
| 22 | <input type="submit" class="pure-button"/> |
| 23 | </div> |
| 24 | </fieldset> |
| 25 | </form> |
| 26 | </div> |