<% 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, confirm: "Are you sure you want to delete the \"#{cassette.name}\" cassette?", 'data-severity' => 'danger', remote: true) do %> <% end %>