From 9fe3232d103edca3db66c44c7b6c4a01f7e99029 Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Thu, 22 Sep 2011 22:18:27 -0700 Subject: [PATCH] fixed email templates --- helios/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helios/views.py b/helios/views.py index f15f1c8..308ebd8 100644 --- a/helios/views.py +++ b/helios/views.py @@ -1251,6 +1251,8 @@ def voters_email(request, election): 'custom_message': '<YOUR MESSAGE HERE>', 'voter': {'vote_hash' : '<SMART_TRACKER>', 'name': '<VOTER_NAME>', + 'voter_login_id': '<VOTER_LOGIN_ID>', + 'voter_password': '<VOTER_PASSWORD>', 'voter_type' : election.voter_set.all()[0].voter_type, 'election' : election} }) @@ -1269,7 +1271,7 @@ def voters_email(request, election): extra_vars = { 'custom_subject' : email_form.cleaned_data['subject'], 'custom_message' : email_form.cleaned_data['body'], - 'election_url' : election_url, + 'election_vote_url' : election_vote_url, 'election' : election } -- GitLab