forked from muyrety/Smarter
26 lines
1.3 KiB
Django/Jinja
26 lines
1.3 KiB
Django/Jinja
{% extends "base.j2" %}
|
|
|
|
{% block title %} Add question sets {% endblock %}
|
|
|
|
{% block main %}
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-5">
|
|
<form method="post" action="{{ url_for('question_sets.add') }}">
|
|
<div class="mt-4">
|
|
<label for="name" class="text-primary-emphasis form-label">Question set name</label>
|
|
<input required type="text" autocomplete="off" class="form-control bg-info-subtle border-success-subtle text-success" name="name" id="name">
|
|
</div>
|
|
<div class="form-check mt-3">
|
|
<input class="form-check-input border-primary" name="private" type="checkbox" value="" id="private">
|
|
<label class="form-check-label text-primary-emphasis" for="private">Create a private question set</label>
|
|
</div>
|
|
<p class="text-primary-emphasis text-center mt-1"><strong>Only private question sets can use questions from OpenTriviaDB</strong></p>
|
|
<div class="text-center mt-4">
|
|
<button type="submit" class="btn btn-outline-primary">Proceed to question selection</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|