<% provide(:title, 'Listen In') %>

<div class="content-wrapper">
  <h2>Listing all Sessions Supposedly On Going</h2>

  <% @music_sessions.each do |music_session|  %>

  <h3><%= music_session.description %></h3>
  <div>created at: <%= music_session.created_at %> </div>
  <audio controls preload="none">
    <source src="<%= music_session.mount.url %>" type="<%= music_session.mount.resolve_string(:mime_type) %>">
  </audio>

  <% end %>

</div>