title: Create a table in thymeleaf
body: <p>I'm new to thymeleaf and am trying to make a simple table using an array and an each loop.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html xmlns:th="http://www.thymeleaf.org"&gt;
  &lt;head&gt;
      &lt;title&gt;Smoke Tests&lt;/title&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;table border="1" style="width:300px"&gt;
      &lt;tr&gt;
          &lt;td&gt;Test Name&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr th:each="smokeTest : ${smokeTests}"&gt;
          &lt;td&gt;
              th:text="${smokeTest.name}"&gt;A Smoke Test'
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Basically my problem is that I can't run the loop as <code>&lt;td&gt;</code>s within <code>&lt;tr&gt;</code>s. Is there any way that this code could work?</p>