29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Stwórz turniej{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Stwórz turniej</h1>
|
|
<form method="post" novalidate>
|
|
{% for question in questions %}
|
|
<div class="mainTestName">
|
|
<div class="question_title" style="padding-top:15px; padding-bottom:10px; padding-left:5px;">
|
|
<input class="form-check-input me-1" type="radio" value={{ question.id }}>
|
|
{{ question.description }}
|
|
</div>
|
|
<div class="list-group">
|
|
{% for answer in question.answers.all %}
|
|
<label class="list-group-item">
|
|
- {{ answer.description }}<br>
|
|
</label>
|
|
{% endfor %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</form>
|
|
<div class="testContent">
|
|
<input type="submit" value="Wyślij odpowiedzi">
|
|
</div>
|
|
|
|
{% endblock %}
|