17 lines
302 B
Groovy
17 lines
302 B
Groovy
{{define "submission"}}<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
{{if .Errors}}
|
|
<h2>Errors:</h2>
|
|
<ol>
|
|
{{range .Errors}}
|
|
<li>{{.}}</li>
|
|
{{end}}
|
|
</ol>
|
|
{{else}}
|
|
Profile successfully submitted.<br/>
|
|
Note: Refreshing the page will produce a duplicate entry.
|
|
{{end}}
|
|
</body>
|
|
</html>
|
|
{{end}} |