fix: Fix deferring ballots from the "edit position" view (#5106)

Fixes #4903
This commit is contained in:
Lars Eggert 2023-02-11 18:11:05 +02:00 committed by GitHub
parent f8b48f4c43
commit 35f1d21302
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,11 +43,13 @@
{% if ballot_deferred %} {% if ballot_deferred %}
<button type="submit" <button type="submit"
class="btn btn-warning" class="btn btn-warning"
name="Undefer">Undefer ballot</button> name="Undefer"
value="Undefer">Undefer ballot</button>
{% else %} {% else %}
<button type="submit" <button type="submit"
class="btn btn-danger" class="btn btn-danger"
name="Defer">Defer ballot</button> name="Defer"
value="Defer">Defer ballot</button>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endif %} {% endif %}