Added ballot choice UI that allows the user to choose between 2 generated ballots whilst showing the ballot's hash. When the user makes their choice, then the ballot is sent to server

This commit is contained in:
vince0656 2018-07-17 09:57:09 +01:00
parent 14e475cf3b
commit d4756bb734
5 changed files with 190 additions and 95 deletions

View file

@ -334,7 +334,7 @@ def event_trustee_decrypt(request, event_id):
# TODO: Combine partial decryptions and gen results
combine_decryptions_and_tally.delay(event)
messages.add_message(request, messages.SUCCESS, 'Your secret key has been successfully submitted')
messages.add_message(request, messages.SUCCESS, 'Your partial decryptions have been successfully submitted')
return HttpResponseRedirect(reverse("user_home"))
# Without an access key, the client does not have permission to access this page