12345678910111213141516171819202122 |
- {{ define "newPostForm" }}
- <form
- action="/b/{{ .board }}/{{ idToString .thread.ID }}"
- method="post"
- enctype="multipart/form-data"
- id="replyForm"
- >
- <label for="author-name">Name</label>
- <input type="text" name="authorName" id="author-name" placeholder="Anon" />
- <label for="comment">Comment</label>
- <textarea name="comment" id="comment" required></textarea>
- <label for="image">File</label>
- <input type="file" name="image" id="image" />
- {{ template "captcha" . }}
- <input type="submit" value="Post" />
- </form>
- {{ end }}
|