{{template "header.html" .S}}

Review your submission:

Thank you for your submission.

{{$role := .S.Role}} {{$submissionID := .SubmissionID}} {{range .Submissions}}

{{.Filename}} {{if not .Book}} {{else if .Book.Active}} {{else}} {{end}} {{.Status}}

{{with .Book}} {{if .}}

{{if .Cover}}{{.Title}}{{end}}

[{{if .Lang}}{{.Lang}}{{end}}] {{.Title}}
{{if .Authors}}Authors: {{range .Authors}}{{.}}, {{end}}
{{end}} {{if .Publisher}}Publisher: {{.Publisher}}
{{end}} {{if .Tags}}Tags: {{range .Tags}}{{.}}, {{end}}
{{end}} {{if .Isbn}}ISBN: {{.Isbn}}
{{end}} {{if .Date}}Date: {{.Date}}
{{end}} {{.Description}}

{{if and .ID (not .Active)}}
{{if eq $role "admin" "moderator"}} Save {{end}} Edit Delete

{{end}}
{{end}} {{end}}
{{if .Book}}
{{end}} {{end}} {{template "footer.html" .S}}