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

added simple template

parent ae638318
No related branches found
No related tags found
No related merge requests found
Dear {{voter.name}},
{{custom_message|safe}}
========
How to Vote
Election URL: {{election_vote_url}}
{% ifequal voter.voter_type "password" %}
Your voter ID: {{voter.voter_login_id}}
Your password: {{voter.voter_password}}
{% else %}
Log in with your {{voter.voter_type}} account.
{% endifequal %}
{{custom_subject|safe}}
...@@ -1232,6 +1232,7 @@ def voters_email(request, election): ...@@ -1232,6 +1232,7 @@ def voters_email(request, election):
return HttpResponseRedirect(settings.SECURE_URL_HOST + reverse(one_election_view, args=[election.uuid])) return HttpResponseRedirect(settings.SECURE_URL_HOST + reverse(one_election_view, args=[election.uuid]))
TEMPLATES = [ TEMPLATES = [
('vote', 'Time to Vote'), ('vote', 'Time to Vote'),
('simple', 'Simple'),
('info', 'Additional Info'), ('info', 'Additional Info'),
('result', 'Election Result') ('result', 'Election Result')
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment