I have this code that already works:
<span class="label" th:classappend="${usuario.ativo ? 'label-success' : 'label-danger'}"> </span></td>
But now I want the following:
<span class="label" th:classappend="${usuario == vazio ? 'label-success' : 'label-danger'}"> </span></td>
If the user is empty, the label will get label-danger
but it did not work because I was wrong ... could anyone help me?