Error table when loop from database

<% @staffs.each do |staff| %> <% @item1s.each do |item1| %>
<% end %>
  <% end %>
Name Photo Task List
<%= staff.name %> <%= item1.name %>

Do you have a question? If so then you are more likely to get an
answer if you ask the question.

Colin