finished view, lack of persistence on changes of camp locations
This commit is contained in:
@ -28,7 +28,23 @@
|
||||
th:class="${'form-control ' + (#fields.hasErrors('name') ? 'inputerror' : '')}">
|
||||
</div>
|
||||
</div>
|
||||
<!-- TODO: url and dropdown of documents -->
|
||||
<div class="row mb-2">
|
||||
<label for="inputURL" class="col-sm-2 col-form-label">URL</label>
|
||||
<div class="col-sm-10">
|
||||
<span class="error" th:each="error : ${#fields.errors('url')}">[[${error}]]<br /></span> <input id="inputURL" type="text" th:field="*{url}"
|
||||
th:class="${'form-control ' + (#fields.hasErrors('url') ? 'inputerror' : '')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="inputDoc" class="col-sm-2 col-form-label">Wegbeschreibung</label>
|
||||
<div class="col-sm-10">
|
||||
<span class="error" th:each="error : ${#fields.errors('fkDocument')}">[[${error}]]<br /></span> <select id="inputDoc" th:field="*{fkDocument}"
|
||||
th:class="${'form-select ' + (#fields.hasErrors('fkDocument') ? 'inputerror' : '')}">
|
||||
<option value="">--- bitte wählen ---</option>
|
||||
<option th:each="d : ${documents}" th:value="${d.pk}" th:text="${d.name}"></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-2"></div>
|
||||
<div class="col-sm-10">
|
||||
|
Reference in New Issue
Block a user