library upgrade
This commit is contained in:
@ -22,8 +22,8 @@
|
||||
<div class="row mb-2">
|
||||
<label for="inputLocation" class="col-sm-2 col-form-label">Ort</label>
|
||||
<div class="col-sm-10">
|
||||
<span class="error" th:each="error : ${#fields.errors('fkLocation')}">[[${error}]]<br /></span>
|
||||
<select id="inputLocation" th:field="*{fkLocation}" th:class="${'form-select ' + (#fields.hasErrors('fkLocation') ? 'inputerror' : '')}">
|
||||
<span class="error" th:each="error : ${#fields.errors('fkLocation')}">[[${error}]]<br /></span> <select id="inputLocation" th:field="*{fkLocation}"
|
||||
th:class="${'form-select ' + (#fields.hasErrors('fkLocation') ? 'inputerror' : '')}">
|
||||
<option value="">--- bitte wählen ---</option>
|
||||
<option th:each="l : ${locations}" th:value="${l.pk}" th:text="${l.name}"></option>
|
||||
</select>
|
||||
@ -56,15 +56,15 @@
|
||||
<div class="row mb-2">
|
||||
<label for="inputPrice" class="col-sm-2 col-form-label">Preis</label>
|
||||
<div class="col-sm-10">
|
||||
<span class="error" th:each="error : ${#fields.errors('price')}">[[${error}]]<br /></span> <textarea id="inputPrice" type="text" th:field="*{price}"
|
||||
th:class="${'form-control ' + (#fields.hasErrors('price') ? 'inputerror' : '')}"></textarea>
|
||||
<span class="error" th:each="error : ${#fields.errors('price')}">[[${error}]]<br /></span>
|
||||
<textarea id="inputPrice" th:field="*{price}" th:class="${'form-control ' + (#fields.hasErrors('price') ? 'inputerror' : '')}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="inputCountries" class="col-sm-2 col-form-label">Ferien in</label>
|
||||
<div class="col-sm-10">
|
||||
<span class="error" th:each="error : ${#fields.errors('countriesList')}">[[${error}]]<br /></span>
|
||||
<select id="inputCountries" th:field="*{countriesList}" th:class="${'form-select ' + (#fields.hasErrors('countriesList') ? 'inputerror' : '')}" multiple="multiple">
|
||||
<span class="error" th:each="error : ${#fields.errors('countriesList')}">[[${error}]]<br /></span> <select id="inputCountries" th:field="*{countriesList}"
|
||||
th:class="${'form-select ' + (#fields.hasErrors('countriesList') ? 'inputerror' : '')}" multiple="multiple">
|
||||
<option value="Baden-Württemberg">Baden-Württemberg</option>
|
||||
<option value="Bayern">Bayern</option>
|
||||
<option value="Berlin">Berlin</option>
|
||||
@ -84,7 +84,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(document).ready(function() {
|
||||
$("#inputCountries").select2();
|
||||
});
|
||||
</script>
|
||||
@ -122,15 +122,13 @@
|
||||
<div class="row mb-2">
|
||||
<label for="inputLockSales" class="col-sm-2 col-form-label">Kassenschluss</label>
|
||||
<div class="col-sm-10">
|
||||
<input id="lockSales" type="checkbox" name="lockSales" th:checked="*{lockSales}" />
|
||||
<label for="lockSales">Abrechnung abgeschlossen</label>
|
||||
<input id="lockSales" type="checkbox" name="lockSales" th:checked="*{lockSales}" /> <label for="lockSales">Abrechnung abgeschlossen</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-2"></div>
|
||||
<div class="col-sm-10">
|
||||
<input type="submit" class="btn btn-success" value="Ok" />
|
||||
<a th:href="@{/admin/camp}" class="btn btn-outline-secondary">Abbrechen</a>
|
||||
<input type="submit" class="btn btn-success" value="Ok" /> <a th:href="@{/admin/camp}" class="btn btn-outline-secondary">Abbrechen</a>
|
||||
<div class="dropdown" style="display: inline" th:if="${bean.pk}">
|
||||
<button class="btn btn-outline-danger dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fas fa-trash-alt"></i>
|
||||
|
Reference in New Issue
Block a user