|
@@ -16,7 +16,7 @@
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</nav>
|
|
<div class="container mt-3">
|
|
<div class="container mt-3">
|
|
- {% with messages = get_flashed_messages(with_categories=true) %}
|
|
|
|
|
|
+ {% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
{% if messages %}
|
|
{% for category, message in messages %}
|
|
{% for category, message in messages %}
|
|
<div class="alert alert-{{ category }} alert-dismissible fade show" role="alert">
|
|
<div class="alert alert-{{ category }} alert-dismissible fade show" role="alert">
|
|
@@ -30,7 +30,7 @@
|
|
{% endwith %}
|
|
{% endwith %}
|
|
<h1>{{ ballot.name }}</h1>
|
|
<h1>{{ ballot.name }}</h1>
|
|
<table class="table table-sm">
|
|
<table class="table table-sm">
|
|
- {% if ballot.description %}
|
|
|
|
|
|
+ {% if ballot.description %}
|
|
<tr>
|
|
<tr>
|
|
<th scope="row">Description</th>
|
|
<th scope="row">Description</th>
|
|
<td>{{ ballot.description }}</td>
|
|
<td>{{ ballot.description }}</td>
|
|
@@ -57,9 +57,11 @@
|
|
</table>
|
|
</table>
|
|
{% if ballot.active() %}
|
|
{% if ballot.active() %}
|
|
<form method="post">
|
|
<form method="post">
|
|
- <div class="form-group">
|
|
|
|
- <label class="text-normal text-dark">Veiligheids code</label>
|
|
|
|
- <input type="text" class="form-control" name="security_code" placeholder="code" required>
|
|
|
|
|
|
+ <div class="card mb-4">
|
|
|
|
+ <div class="card-body">
|
|
|
|
+ <h5 class="card-title">Veiligheids code</h5>
|
|
|
|
+ <input type="text" class="form-control" name="security_code" placeholder="code" required>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
{% for question in ballot.questions %}
|
|
{% for question in ballot.questions %}
|
|
<div class="card mb-4">
|
|
<div class="card mb-4">
|