title: Thymeleaf + Spring boolean conditions
body: <p>I have a template where I want apply some conditions to show 1 icon or another, but no icon is showed, I only see the text (true, false) in the cell</p>
  
  <pre><code>&lt;tr th:each="systemAlarm : ${systemAlarms}"&gt;
  
                                          &lt;td class="col_description"  th:text="${systemAlarm.description}" &gt;&lt;/td&gt;&lt;!-- ID --&gt;
                                          &lt;td class="col_name" th:text="${systemAlarm.enabled}"&gt;
  
                                          &lt;span th:if="${systemAlarm.enabled}"  &gt;
                                              yes&lt;i class="fa fa-bullseye fa-2x" style="color:green; text-align: center;" aria-hidden="true"&gt;&lt;/i&gt;
                                          &lt;/span&gt;
                                          &lt;span th:if="${!systemAlarm.enabled}"&gt;
                                              no&lt;i class="fa fa-bullseye fa-2x"  style="text-align: center;" aria-hidden="true"&gt;&lt;/i&gt;
                                          &lt;/span&gt;
  
                                          &lt;/td&gt;&lt;!-- NAME --&gt;
                                      &lt;/tr&gt;        
  </code></pre>