Bilder als Antworten hinzugefügt
This commit is contained in:
@ -13,7 +13,11 @@
|
||||
{{range .Question.Answers}}
|
||||
<div>
|
||||
<input type="radio" name="answer" id="answer-{{.ID}}" value="{{.ID}}" />
|
||||
{{if .IsImage}}
|
||||
<img src="{{.Text}}" alt="{{.Text}}" />
|
||||
{{else}}
|
||||
<label for="answer-{{.ID}}">{{.Text}}</label>
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
Reference in New Issue
Block a user