I have a table with data on every row, at the beginning of each row I have a button which contains a modal with the following options:
<td class="fr-pl-0 tg-td--btn-icones"
th:if="${...}">
<button class="tg-btn__menu fr-btn fr-btn--icon-left" type="button">
<ul class="tg-menu__list tg--hidden">
<li th:if="${..}"><a title="Create" class="create" href="#" th:data-id="${section.id}">Create</a></li>
<li th:if="${...}"><a title="Read" class="read" href="#" th:data-id="${section.id}">Read</a></li>
<li th:if="${...}"><a title="Update" class="update" href="#" th:data-id="${section.id}">Update</a></li>
<li th:if="${...}"><a title="Delete" class="fdelete" href="#" th:data-id="${section.id}">Del</a></li>
</ul>
</button>
</td>
All the items are displayed in the upper part of the table, only the last item is not displayed in the lower part. (Delete) P.S: It is a just a snippet of code, the code works