<%= render :partial => 'asciicasts/asciicast', :object => @asciicast %>
<% if @asciicast.user == current_user %>
<%= link_to 'Delete this asciicast', asciicast_path(@asciicast),
:method => :delete, :confirm => 'U SHURE?',
:class => 'delete-link' %>
<% end %>
Comments