diff --git a/helios/templates/email/info_body.txt b/helios/templates/email/info_body.txt index 8a606ada8572dc785a559a3ec8d65b7579be3c7f..e717a8ae89228f9ae23467b565606e7103683fa9 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 308ebd8dd3ae4d20be69c36b3cbd3232ef081008..d264c91ba1994bea416fb264cbf26cf7e5dec617 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 }