This commit is contained in:
2020-12-27 23:33:56 +01:00
parent 2a8ba84bec
commit 907db5fb36

View File

@@ -62,7 +62,7 @@
$('#votingButtons div.voteDiv:nth-child(' + q + ')').hide();
$('#votingButtons div.voteDiv:nth-child(' + (q + 1) + ')').show();
if (q == (qMax - 1)) {
$('#btnNext').html('Submit Answers');
$('#btnNext').html('Auswahl bestätigen');
}
q++;
} else {
@@ -81,7 +81,7 @@
</div>
</div>
</div>
<button class="submitButton" id="btnNext" type="submit">Nächste Frage</button>
<button class="submitButton" id="btnNext" type="submit">Nächste Kategorie</button>
<form action="#" th:action="@{/processVote}" method="post" id="myForm">
<input id="voteValues" type="hidden" name="voteValues" value="" />
<input id="voterName" type="hidden" name="name" th:value="${name}" />