.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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user