feature/post-test-answers #23
@ -316,6 +316,7 @@ background-color:#FF0B7E
|
|||||||
}
|
}
|
||||||
|
|
||||||
.testContent{
|
.testContent{
|
||||||
|
padding-top: 15px;
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
@ -28,13 +28,12 @@
|
|||||||
<div class="card-header test_title" style="background:#00916E; color: #FFF;">
|
<div class="card-header test_title" style="background:#00916E; color: #FFF;">
|
||||||
{{ test.name }}
|
{{ test.name }}
|
||||||
</div>
|
</div>
|
||||||
|
<form method="post" novalidate>
|
||||||
{% for question in test.questions.all %}
|
{% for question in test.questions.all %}
|
||||||
|
|
||||||
<div class="question_title" style="padding-top:15px; padding-bottom:10px; padding-left:5px;">
|
<div class="question_title" style="padding-top:15px; padding-bottom:10px; padding-left:5px;">
|
||||||
{{ question.description }}
|
{{ question.description }}
|
||||||
</div>
|
</div>
|
||||||
<div class="list-group">
|
<div class="list-group">
|
||||||
<form method="post" novalidate>
|
|
||||||
{% for answer in question.answers.all %}
|
{% for answer in question.answers.all %}
|
||||||
<label class="list-group-item">
|
<label class="list-group-item">
|
||||||
<input class="form-check-input me-1" type="radio" name={{ question.id }} value={{ answer.id }}>
|
<input class="form-check-input me-1" type="radio" name={{ question.id }} value={{ answer.id }}>
|
||||||
@ -42,14 +41,14 @@
|
|||||||
</label>
|
</label>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
|
||||||
<div class="testContent">
|
<div class="testContent">
|
||||||
<input type="submit" value="Send answers">
|
<input type="submit" value="Send answers">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user