Bilder als Antworten hinzugefügt
This commit is contained in:
@ -11,11 +11,18 @@
|
||||
|
||||
{{define "answers"}}
|
||||
{{range .Answers}}
|
||||
{{if .IsImage}}
|
||||
<span class="{{if and .Chosen .Correct}} correct {{else if and .Chosen (not .Correct)}} incorrect {{end}}">
|
||||
{{.ID}}.
|
||||
</span>
|
||||
<img src="{{.Text}}" alt="{{.Text}}" />
|
||||
{{else}}
|
||||
<p class="{{if and .Chosen .Correct}} correct {{else if and .Chosen (not .Correct)}} incorrect {{end}}">
|
||||
{{.Text}}
|
||||
</p>
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
{{define "content"}}
|
||||
<p>{{.BriefingParticipant.NoIncorrect}} Fehler</p>
|
||||
|
Reference in New Issue
Block a user