<svg></svg>
<div class="jam-circle">
  <p>
    <%= @jam_circle.user.name.capitalize %>
    -
    <%= @jam_circle.title %>
  </p>

  <% unless @jam_circle.description.blank? %>
    <p>
      <strong>Description:</strong>
      <%= @jam_circle.description %>
    </p>
  <% end %>

  <p>
    <%= @jam_circle.public ? 'Public' : 'Private' %>
    -
    <%= @jam_circle.open ? 'Open' : 'Closed' %>
  </p>

  <% if @jam_circle.user.id == session[:user_id]%>
    <%= link_to 'Edit Jam Circle', edit_jam_circle_path(@jam_circle) %>
  <% end %>

</div>

<svg></svg>
<div class="jam-circle">
  <p>
    <%= @jam_circle.user.name.capitalize %>
    -
    <%= @jam_circle.title %>
  </p>

  <% unless @jam_circle.description.blank? %>
    <p>
      <strong>Description:</strong>
      <%= @jam_circle.description %>
    </p>
  <% end %>

  <p>
    <%= @jam_circle.public ? 'Public' : 'Private' %>
    -
    <%= @jam_circle.open ? 'Open' : 'Closed' %>
  </p>

  <% if @jam_circle.user.id == session[:user_id]%>
    <%= link_to 'Edit Jam Circle', edit_jam_circle_path(@jam_circle) %>
  <% end %>

  <h2>Clips</h2>
   <% if @jam_circle.clips.any? %>
     <% counter = 1 %>
     <% @jam_circle.clips.each do |clip| %>
       <p>
         <%= counter %>. <%= clip.title ? clip.title : 'Untitled' %>
         (id: <%= clip.id %>)
         -
         <% if clip.previous_clip_id %>
           Previous clip id: <%= clip.previous_clip_id %>
         <% else %>
           Original
         <% end %>
         -
         <%= link_to 'Download' %>
         -
         <%= link_to 'Add To', '#', class: 'add-to', value: clip.id %>

       </p>
       <% counter += 1 %>
     <% end %>
   <% else %>
     You Don't have any sound clips lolololololololololololololooolololololo
     <br/>
     Click <%= link_to 'here', "#", class: "add-to" %> to add a the first clip to this jam circle
   <% end %>

</div>

Fix missing link on jam circle bug
Fix missing link on jam circle bug
