{{define "title"}} {{if .EditCommentID}} Edit Comment {{else if .Thread}} Reply to Thread {{else}} New Forum Post {{end}} {{end}} {{define "content"}}

{{if .EditCommentID}} Edit comment on: {{or .Thread.Title "Untitled Thread"}} {{else if .Thread}} Reply to: {{or .Thread.Title "Untitled Thread"}} {{else}} Post to: {{.Forum.Title}} {{end}}

/f/{{.Forum.Fragment}}

{{if and (eq .Request.Method "POST") (ne .Message "")}}
{{ToMarkdown .Message}}
{{end}}
{{InputCSRF}} {{if not .Thread}}

Required.

{{end}}

Markdown formatting supported.

{{if not .EditCommentID}}
Poll expires:
{{end}} {{if .Forum.PermitPhotos}}

Selected image:

{{end}}
{{if or (not .Thread) .EditThreadSettings}}
{{if or .CurrentUser.IsAdmin (and .Forum (eq .Forum.OwnerID .CurrentUser.ID))}}
{{end}} {{if or .CurrentUser.Explicit .IsExplicit}}
{{end}} {{if .CurrentUser.IsAdmin}}
{{end}}
{{end}}
{{if .Forum.PermitPhotos}} {{end}}
{{end}} {{define "scripts"}} {{end}}