aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/voter_confirm_delete.html.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/voter_confirm_delete.html.j2 b/templates/voter_confirm_delete.html.j2
new file mode 100644
index 0000000..faa175a
--- /dev/null
+++ b/templates/voter_confirm_delete.html.j2
@@ -0,0 +1,12 @@
+{% extends "base.html.j2" %}
+
+{% block content %}
+<h2>Confirm deletion of voter <span class="contrast">{{ voter_name }}</span></h2>
+
+<p>Are you sure you want to delete the submission by {{ voter_name }}?</p>
+
+<form action="/poll/{{ poll_id }}/confirm_delete_voter" method="post">
+ <input type="hidden" name="voter_code" value="{{ voter_code }}">
+ <input class="red" type="submit" value="Yes, delete it">
+</form>
+{% endblock %}