Skip to content
Snippets Groups Projects
Commit 3623acd8 authored by Ben Adida's avatar Ben Adida
Browse files

add a quick confirm

parent 57224450
Branches
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@
{% endif %}
{% if admin_p %}
&nbsp;{% if election.is_archived %}<a class="small button" href="{% url "helios.views.one_election_archive" election_uuid=election.uuid %}?archive_p=0">unarchive it</a>{% else %}<a class="small button" href="{% url "helios.views.one_election_archive" election_uuid=election.uuid %}?archive_p=1">archive it</a>{% endif %}
<a class="small button" href="{% url "helios.views.one_election_copy" election_uuid=election.uuid %}">copy</a>
<a class="small button" onclick="return window.confirm('Are you sure you want to copy this election?');" href="{% url "helios.views.one_election_copy" election_uuid=election.uuid %}">copy</a>
{% endif %}
<br />
{% if admin_p %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment