1
This commit is contained in:
Christoph
2020-04-11 23:50:46 +02:00
parent 587c897426
commit 53c59d3287
4 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="de" xmlns:th="http://www.thymeleaf.org" th:replace="~{mopslayout :: html(
name='Gruppenbildung',
title='Details',
headcontent=~{fragments/general :: headcontent('/details.css')},
navigation=~{fragments/general :: nav('none')},
bodycontent=~{:: bodycontent})}">
<body>
<main th:fragment="bodycontent">
<div class="container-fluid">
<h1 class="def-cursor" th:text="${group.getTitle()}"></h1>
<div class="content">
<div class="content-heading">
<div th:replace="~{fragments/gruppen :: badges}"></div>
</div>
<div class="content-text-in">
<span th:text="${group.getDescription()}"></span>
</div>
<form th:if="${group.getType() == public}" method="post"
th:action="@{/gruppen2/details/{id}/join(id=${group.getId()})}">
<button class="btn btn-primary" type="submit">Beitreten!</button>
</form>
</div>
</div>
</main>
</body>
</html>