Skip to content

Commit

Permalink
NA: Fix demo document fields template
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgrayston authored and MrBurtyyy committed Sep 30, 2020
1 parent 3ea04ca commit 3333771
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions examples/doc-scan/src/main/resources/templates/success.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ <h3>

<!-- Document Fields -->
<div class="card" th:if="${document.getDocumentFields() != null}">
<div class="card-header" th:id="document-fields-${iter.index}">
<div class="card-header" th:id="${'document-fields-' + iter.index}">
<h4 class="mb-0">
<button class="btn btn-link" type="button" data-toggle="collapse"
th:attr="data-target='#collapse-document-fields-' + ${iter.index}"
Expand All @@ -199,8 +199,8 @@ <h4 class="mb-0">
</button>
</h4>
</div>
<div th:id="collapse-document-fields-${iter.index}" class="collapse"
th:aria-labelledby="document-fields-${iter.index}">
<div th:id="${'collapse-document-fields-' + iter.index}" class="collapse"
th:aria-labelledby="${'document-fields-' + iter.index}">
<div class="card-body">
<th:block th:if="${document.getDocumentFields().getMedia() != null}">
<h5>Media</h5>
Expand Down Expand Up @@ -263,8 +263,10 @@ <h5>Generated Media</h5>
<tbody>
<tr>
<td>ID</td>
<a th:text="${generatedMedia.getId()}"
th:href="${'/media?mediaId=' + generatedMedia.getId()}"></a>
<td>
<a th:text="${generatedMedia.getId()}"
th:href="${'/media?mediaId=' + generatedMedia.getId()}"></a>
</td>
</tr>
<tr>
<td>Type</td>
Expand Down

0 comments on commit 3333771

Please sign in to comment.