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:
commit
3e22c9925c
@ -9,26 +9,33 @@
|
|||||||
<span>name:<input id="name" type="text" name="name" value="{{ tournament.name }}"></span><br>
|
<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>
|
<span>passing score:<input id="passing_score" type="text" name="passing_score" value="{{ tournament.passing_score }}"></span>
|
||||||
{% for question in questions %}
|
{% for question in questions %}
|
||||||
<div class="tournamentQuestionContainer">
|
<div class="tournamentQuestionContainer">
|
||||||
<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 %}
|
Loading…
Reference in New Issue
Block a user