Skip to content

Commit

Permalink
additional guidance throughout the voting process
Browse files Browse the repository at this point in the history
  • Loading branch information
benadida committed Jan 28, 2022
1 parent b92f1d4 commit 08c1874
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helios/templates/_castconfirm_password.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
{% endif %}
{% if cast_ballot == "1" %}
<input type="submit" class="button" value="authenticate &amp; cast ballot" />
<p class="small">
Your voter ID and password can be found in the email you received.
If you cannot find your login information, contact your election administrator at <tt>{{election.help_email}}</tt>.
</p>
<p class="small">
Cast as many ballots as you wish: only the last one counts.
</p>
Expand Down
3 changes: 3 additions & 0 deletions heliosbooth/vote.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@
checkbox.disabled = false;
});
$('#warning_box').html("");
if (BOOTH.election.questions[question_num].max != null && (BOOTH.ballot.answers[question_num].length < BOOTH.election.questions[question_num].max)) {
$('#warning_box').html("You may select up to " + BOOTH.election.questions[question_num].max + " choices total.");
}
}
};

Expand Down

0 comments on commit 08c1874

Please sign in to comment.