Listing occurrences

<% @occurrences.each do |occurrence| %> <% end %>
Summary Start time End time Node Event
<%=h occurrence.summary %> <%=h occurrence.start_time %> <%=h occurrence.end_time %> <%=h occurrence.node_id %> <%=h occurrence.event_id %> <%= link_to 'Show', occurrence %> <%= link_to 'Edit', edit_occurrence_path(occurrence) %> <%= button_to 'Destroy', occurrence, method: :delete, form: { data: { confirm: 'Are you sure?' } } %>

<%= link_to 'New occurrence', new_occurrence_path %>