Skip to content

Instantly share code, notes, and snippets.

@telagraphic
Created April 30, 2013 20:23
Show Gist options
  • Save telagraphic/5491653 to your computer and use it in GitHub Desktop.
Save telagraphic/5491653 to your computer and use it in GitHub Desktop.
<% if @projects.any? %>
<ul>
<% @projects.each do |project| %>
<li>
<b><%= project.name %></b> |
<%= link_to "Done", project, confirm: "Sure?", method: "delete" %>
</li>
<% end %>
</ul>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment