mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
Add AbstractController, implement flash message handling, and refactor repositories
This commit is contained in:
@@ -3,7 +3,16 @@
|
||||
Candiadte: {{ candidate.name }}<br/>
|
||||
|
||||
{{ question.question }}<br/>
|
||||
{% for answer in question.answers %}
|
||||
<input type="radio" name="answer" value="{{ answer.id }}"> {{ answer.text }}
|
||||
{% endfor %}
|
||||
<form method="post">
|
||||
{% for answer in question.answers %}
|
||||
<div>
|
||||
<button class="btn btn-outline-success"
|
||||
type="submit"
|
||||
name="answer"
|
||||
value="{{ answer.id }}">{{ answer.text }}</button>
|
||||
</div>
|
||||
{% else %}
|
||||
Weirdly enough this question has no answers...
|
||||
{% endfor %}
|
||||
</form>
|
||||
{% endblock body %}
|
||||
|
||||
Reference in New Issue
Block a user