Revize b07f6ea7
Přidáno uživatelem Michal Linha před více než 4 roky(ů)
src/main/webapp/WEB-INF/templates/assembly.html | ||
---|---|---|
19 | 19 |
|
20 | 20 |
<form th:object="${configuration}" method="post" th:action="@{${formAction}}"> |
21 | 21 |
<input type="hidden" th:field="*{assembly.id}" th:value="${configuration.assembly?.getId()}"/> |
22 |
<input type="hidden" name="isNotRemoveEmpty"/> |
|
22 | 23 |
<div class="container box"> |
23 | 24 |
<div class="col-md-12"> |
24 | 25 |
<div class="col-md-12 form-group row"> |
... | ... | |
37 | 38 |
</tr> |
38 | 39 |
</thead> |
39 | 40 |
<tbody> |
40 |
<tr th:each="parameterInConfiguration, itemStat : ${#lists.sort(configuration.parametersInConfiguration, comparator)}" class="parameter-row"> |
|
41 |
<input type="hidden" class="parameterIndex" th:value="${itemStat.index}"> |
|
41 |
<tr th:each="parameterInConfiguration, itemStat : ${configuration.parametersInConfiguration}" class="parameter-row"> |
|
42 |
<input type="hidden" class="parameterIndex" th:value="${itemStat.index}"> |
|
43 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].parameter.id}"/> |
|
42 | 44 |
<td> |
43 | 45 |
<span class="select-text-padding parameter-name" |
44 | 46 |
th:text="${parameterInConfiguration.parameter.name}"></span> |
... | ... | |
200 | 202 |
</div> |
201 | 203 |
|
202 | 204 |
<div class="custom-control custom-switch form-group"> |
203 |
<input type="checkbox" class="custom-control-input" id="customSwitch1" checked>
|
|
205 |
<input type="checkbox" class="custom-control-input" id="customSwitch1" th:checked="${isNotRemoveEmpty}" name="isNotRemoveEmpty">
|
|
204 | 206 |
<label class="custom-control-label" for="customSwitch1">Zobrazovat prázdné řádky</label> |
205 | 207 |
</div> |
206 | 208 |
|
Také k dispozici: Unified diff
re #7885 #8134re #8154 re #8136 added comments and connected switch to allow user to set if he wants to see empty rows or columns in the final table