<% if comp.header %> <%= erb :"components/table/header", :locals => {:row=> comp.header} %> <% end %> <% comp.rows.each do |row| %> <%= erb :"components/table/row", :locals => {:row=> row} %> <% end %>
<%# WIP = erb :"components/table/pagination", :locals => {} %>