inline HTML, result viewer
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
<div id="questions">
|
||||
{% for question in form.questions %}
|
||||
<div class = "question">
|
||||
<h2>{{ question.name|safe }}</h2>
|
||||
|
||||
{% if question.autoformat %}
|
||||
<div class = "question autoformat">
|
||||
<h2>{{ question.name|safe }}</h2>
|
||||
{% else %}
|
||||
<div class = "question">
|
||||
{{ question.name|safe }}
|
||||
{% endif %}
|
||||
{% for choice in question.choices %}
|
||||
<div>
|
||||
<input type="radio" name="QC{{ question.index }}" value="{{ choice|safe }}" />
|
||||
|
||||
Reference in New Issue
Block a user