Just a simple site to publish surveys. Nothing fancy, mostly done because I need it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
survey-site/views/survey/submit.html

24 lines
579 B

<style>
#question-list {
font-size: 1.1em;
grid-template-columns: 1fr 60px;
gap: 10px;
}
</style>
<h1>Verify Your Answers</h1>
<p>Please verify your answers are what you would like to say on this survey.</p>
<grid id="question-list">
{{ range .Survey.Questions }}
<label for="question-{{ .Id }}">{{ .Question }}</label>
<span>{{.Answer}}</span>
{{ end }}
</grid>
<button-group>
<a href="/survey/"><button type="button">Change My Answers</button></a>
<a href="/survey/finalize"><button type="button">Submit My Answers</button></a>
</button-group>