<% content_for(:title) { "Cassettes | #{@cassette.name}" } %>

<%= @cassette.name %>

Episodes <%= @cassette.episodes.count %>

<% @cassette.episodes.each_with_index do |episode, index| %> <% end %>
# Url Method Content Type Recorded Action
<%= index + 1 %> <%= link_to(episode.url, cassette_episode_path(@cassette, episode, fix_relative_links: true), html_options = { target: '_blank' }) %> <%= episode.request_method.upcase %> <%= episode.content_type %> <%= time_ago_in_words(episode.recorded_at) %> ago <%= link_to('Delete', cassette_episode_path(@cassette, episode), method: :delete, confirm: "Are you sure you want to delete the \"#{episode.url}\" episode?", 'data-severity' => 'danger', remote: true, class: 'btn btn-outline-danger btn-sm') %>