From fb37a85dcd32ff2e6604f0ef3238720f531c18cb Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Thu, 22 Sep 2011 22:24:56 -0700 Subject: [PATCH] fixed another template --- helios/templates/email/info_body.txt | 2 +- helios/views.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/helios/templates/email/info_body.txt b/helios/templates/email/info_body.txt index 8a606ad..e717a8a 100644 --- a/helios/templates/email/info_body.txt +++ b/helios/templates/email/info_body.txt @@ -2,7 +2,7 @@ Dear {{voter.name}}, {{custom_message|safe}} -Election Link: {{election_url}} +Election Link: {{election_vote_url}} -- Helios diff --git a/helios/views.py b/helios/views.py index 308ebd8..d264c91 100644 --- a/helios/views.py +++ b/helios/views.py @@ -1272,6 +1272,7 @@ def voters_email(request, election): 'custom_subject' : email_form.cleaned_data['subject'], 'custom_message' : email_form.cleaned_data['body'], 'election_vote_url' : election_vote_url, + 'election_url' : election_url, 'election' : election } -- GitLab