1

fix template

This commit is contained in:
kasch309
2020-03-17 16:29:55 +01:00
parent 3036f76b37
commit b648920c42
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@
<div> <div>
<h2 style="display: inline-block; margin: 0">Mitglieder</h2> <h2 style="display: inline-block; margin: 0">Mitglieder</h2>
<form method="get" action="/gruppen2/details/members"> <form method="get" action="/gruppen2/details/members">
<button th:if="${role == role.ADMIN}" class="btn btn-secondary" type="submit" style="background: slategrey; float: right" >Mitglieder bearbeiten</button> <button th:value="${group.getId()}" th:name="group_id" th:if="${role == role.ADMIN}" class="btn btn-secondary" type="submit" style="background: slategrey; float: right" >Mitglieder bearbeiten</button>
</form> </form>
<p></p> <p></p>
</div> </div>

View File

@ -36,8 +36,8 @@
<th scope="col">Optionen</th> <th scope="col">Optionen</th>
</tr> </tr>
</thead> </thead>
<tr th:each="member: ${members}"> <tr th:each="member : ${group.getMembers()}">
<th th:value="${member.getName()}"></th> <th th:value="${member.getUser_id()}"></th>
<th> <th>
<button class="btn btn-warning">Adminrecht zuweisen</button> <button class="btn btn-warning">Adminrecht zuweisen</button>
<button class="btn btn-danger"> Mitglied entfernen</button> <button class="btn btn-danger"> Mitglied entfernen</button>