I trying to build a table. Here is my HAML code:
%table{:border => 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
All the items in the table are in one column:
I need a table with three columns: