Merge pull request 'feautre/button-to-create-tournament' (#39) from feautre/button-to-create-tournament into master

Reviewed-on: #39
This commit is contained in:
s470631 2022-05-25 01:00:49 +02:00
commit 3e22c9925c

View File

@ -13,22 +13,29 @@
<div class="mainTestName"> <div class="mainTestName">
<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;">
<input class="form-check-input me-1" type="radio" name={{ question.id }} value={{ question.id }}> <input class="form-check-input me-1" type="radio" name={{ question.id }} value={{ question.id }}>
{{ question.description }} {{ question.description }}
</div> </div>
</div>
<div class="list-group"> <div class="list-group">
{% for answer in question.answers.all %} {% for answer in question.answers.all %}
<label class="list-group-item"> <label class="list-group-item">
- {{ answer.description }}<br> - {{ answer.description }}<br>
</label> </label>
{% endfor %} {% endfor %}
</div> </div>
</div>
<br> </div>
{% endfor %} </div>
</form> {% endfor %}
<div class="testContent">
<input type="submit" value="Utwórz turniej">
</div>
<div class="testContent">
<input type="submit" value="Stwórz turniej">
</div>
</form>
{% endblock %} {% endblock %}