feautre/button-to-create-tournament #39

Merged
s470631 merged 2 commits from feautre/button-to-create-tournament into master 2022-05-25 01:00:50 +02:00
Showing only changes of commit 14064b8e74 - Show all commits

View File

@ -9,26 +9,26 @@
<span>name:<input id="name" type="text" name="name" value="{{ tournament.name }}"></span><br>
<span>passing score:<input id="passing_score" type="text" name="passing_score" value="{{ tournament.passing_score }}"></span>
{% for question in questions %}
<div class="tournamentQuestionContainer">
<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" name={{ question.id }} value={{ question.id }}>
{{ question.description }}
</div>
</div>
<div class="list-group">
{% for answer in question.answers.all %}
<label class="list-group-item">
- {{ answer.description }}<br>
</label>
{% endfor %}
</div>
</div>
<br>
{% endfor %}
</form>
<div class="testContent">
<input type="submit" value="Utwórz turniej">
</div>
{% endblock %}
<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" name={{ question.id }} 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>
<div class="testContent">
<input type="submit" value="Stwórz turniej">
</div>
</form>
{% endblock %}