.gitignore expanded, Votingsite expanded

.gitignore:
    - All logs are now going to be ignored by git

VotingController.java:
    - added the categoryRepository to the model

voting.html:
     - showing data out of categoryRepository now
This commit is contained in:
2020-11-14 13:03:43 +01:00
parent d7185572fc
commit e1d8d81095
3 changed files with 10 additions and 1 deletions

View File

@@ -10,6 +10,10 @@
<body>
<h1>Wähle deine Kandidaten:</h1>
<div th:each="category,iter : ${categories}">
<h2 th:text="${category.candidateList[iter.index]}"></h2>
</div>
<div th:each="candidate : ${candidates}" class="candidates">
<h2 th:text="${candidate.category.name}"></h2>
<ul>