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

fixed language to have emails and login screen match

parent f08751d1
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,6 @@ class TallyNotificationEmailForm(forms.Form): ...@@ -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?')]) 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): 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) password = forms.CharField(widget=forms.PasswordInput(), max_length=100)
...@@ -5,7 +5,7 @@ Dear {{voter.name}}, ...@@ -5,7 +5,7 @@ Dear {{voter.name}},
Election URL: {{election_url}} Election URL: {{election_url}}
Election Fingerprint: {{voter.election.hash}} Election Fingerprint: {{voter.election.hash}}
{% ifequal voter.voter_type "password" %} {% ifequal voter.voter_type "password" %}
Your username: {{voter.voter_login_id}} Your voter ID: {{voter.voter_login_id}}
Your password: {{voter.voter_password}} Your password: {{voter.voter_password}}
{% else %} {% else %}
Log in with your {{voter.voter_type}} account. Log in with your {{voter.voter_type}} account.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment