Change vote status of voter if voter voted
Through that voters can only vote once
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
</div>
|
||||
<form action="#" th:action="@{/processVote}" method="post">
|
||||
<input id="voteValues" type="hidden" name="voteValues" value="" />
|
||||
<input id="voterName" type="hidden" name="voterEmail" th:value="${name}" />
|
||||
<button type="submit" id="submitButton" onclick="getVotes()">Auswahl bestätigen</button>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user