I would like to display a text (or not) based on its content. For example, if status equals ACCEPTED I would like to display this word, otherwise don't. What I have is:
<td th:if="${trip.tripStatus} == 'ACCEPTED'" th:text="${trip.tripStatus}"></td>
But it looks like it doesn't work that way.