Skip to content

Instantly share code, notes, and snippets.

@evantravers
Created July 6, 2011 19:13
Show Gist options
  • Save evantravers/1068075 to your computer and use it in GitHub Desktop.
Save evantravers/1068075 to your computer and use it in GitHub Desktop.
<p id="notice"><%= notice %></p>
<p>
<%= @list.name %>:
</p>
<ul>
<% @todos.each do |todo| %>
<li><%= todo.name %></li>
<% end %>
</ul>
<%= link_to 'New Todo', new_list_todo_path %> <br />
<%= link_to 'Edit', edit_list_path(@list) %> |
<%= link_to 'Back', lists_path %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment