<% content_for(:title) { 'Cassettes' } %>

Cassettes (<%= @cassettes.count %>)

<% @cassettes.each_with_index do |cassette, index| %> <% end %>
# Name Episodes Last Updated Action
<%= index + 1 %> <%= link_to(cassette.name, cassette_path(cassette)) %> <%= cassette.episodes.count %> <%= time_ago_in_words(cassette.updated_at) %> ago <%= link_to(cassette_path(cassette), method: :delete, data: { confirm: "Are you sure you want to delete the \"#{cassette.name}\" cassette?", severity: 'danger' }, remote: true) do %> <% end %>