From cf15f5b1b19a7f232e4eba4c7e3009592b8e9c7a Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Tue, 28 Sep 2010 17:21:35 -0700 Subject: [PATCH] fixed up the check-sk feature --- helios/templates/election_view.html | 2 +- helios/templates/trustee_check_sk.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helios/templates/election_view.html b/helios/templates/election_view.html index 3d7f3e6..ba8e74b 100644 --- a/helios/templates/election_view.html +++ b/helios/templates/election_view.html @@ -259,7 +259,7 @@ You are <em>not eligible</em> to vote in this election, because registration is verify <a target="_blank" href="/verifier/verify.html?election_url={% url helios.views.one_election election.uuid %}">election tally</a>. {% endif %} -review the <a href="{{SECURE_URL_HOST}}/booth/vote.html?election_url={% url helios.views.one_election election.uuid %}">voting booth</a>. +review the <a href="{{vote_url}}">voting booth</a>. </p> {% endif %} diff --git a/helios/templates/trustee_check_sk.html b/helios/templates/trustee_check_sk.html index fe597bd..f6b615e 100644 --- a/helios/templates/trustee_check_sk.html +++ b/helios/templates/trustee_check_sk.html @@ -43,7 +43,7 @@ function check_sk(sk_value) { } } </script> - <h2 class="title">{{election.name}} — Trustee {{trustee.name}} — Check Secret Key</span></h2> + <h2 class="title">{{election.name}} — Trustee {{trustee.name}} — Check Secret Key <span style="font-size:0.7em;">[<a href="./home">back to trustee home</a>]</span></h2> <p> Your public key fingerprint is: <b>{{trustee.public_key_hash}}</b> @@ -58,7 +58,7 @@ loading crypto functions... To verify that you have the right secret key, paste it here: <p> -<form onsubmit="check_sk(this.secret_key.value); return false;"> +<form onsubmit="check_sk(this.secret_key.value); this.secret_key.value=''; return false;"> <textarea name="secret_key" cols="60" rows ="5" wrap="soft"> </textarea> <br /> -- GitLab