<h1>Listing slideshows</h1>

<table>
  <tr>
    <th>Name</th>
  </tr>

<% for slideshow in @slideshows %>
  <tr>
    <td><%=h slideshow.name %></td>
    <td><%= link_to 'Show', slideshow %></td>
    <td><%= link_to 'Edit', edit_slideshow_path(slideshow) %></td>
    <td><%= link_to 'Destroy', slideshow, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New slideshow', new_slideshow_path %>
