From 7dcc4a18a304bbae91fae4932364753d5bcd629f Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Mon, 28 Feb 2011 21:46:52 -0800 Subject: [PATCH] fixed language to have emails and login screen match --- helios/forms.py | 2 +- helios/templates/email/vote_body.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helios/forms.py b/helios/forms.py index d54553a..13dc829 100644 --- a/helios/forms.py +++ b/helios/forms.py @@ -37,6 +37,6 @@ class TallyNotificationEmailForm(forms.Form): send_to = forms.ChoiceField(label="Send To", choices= [('all', 'all voters'), ('voted', 'only voters who cast a ballot'), ('none', 'no one -- are you sure about this?')]) class VoterPasswordForm(forms.Form): - voter_id = forms.CharField(max_length=50) + voter_id = forms.CharField(max_length=50, label="Voter ID") password = forms.CharField(widget=forms.PasswordInput(), max_length=100) diff --git a/helios/templates/email/vote_body.txt b/helios/templates/email/vote_body.txt index fa0a4db..b0c6875 100644 --- a/helios/templates/email/vote_body.txt +++ b/helios/templates/email/vote_body.txt @@ -5,7 +5,7 @@ Dear {{voter.name}}, Election URL: {{election_url}} Election Fingerprint: {{voter.election.hash}} {% ifequal voter.voter_type "password" %} -Your username: {{voter.voter_login_id}} +Your voter ID: {{voter.voter_login_id}} Your password: {{voter.voter_password}} {% else %} Log in with your {{voter.voter_type}} account. -- GitLab