title: How to build a table using HAML
body: <p>I trying to build a table. Here is my HAML code:</p>
  
  <pre><code>%table{:border =&gt; 1}
  %tbody
  %tr
    %td Question:
  - @cust_dashboard.each do |object|
    %tr
      %td= object.question
  %tr
    %td Status:
  - @cust_dashboard.each do |object|
    %tr
      %td= object.status
  %tr
    %td Created_at:
  - @cust_dashboard.each do |object|
    %tr
      %td= object.created_at
  </code></pre>
  
  <p>All the items in the table are in one column:</p>
  
  <p><img src="https://i.stack.imgur.com/lrqLT.png" alt="enter image description here"></p>
  
  <p>I need a table with three columns:</p>
  
  <p><img src="https://i.stack.imgur.com/ml5Ye.png" alt="enter image description here"></p>