Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<p id="notice"><%= notice %></p>
<th colspan="3"></th>
<% @styles.each do |style| %>
<td><%= %></td>
<td><%= style.description %></td>
<td><%= link_to 'Show', style %></td>
<td><%= link_to 'Edit', edit_style_path(style) %></td>
<td><%= link_to 'Destroy', style, method: :delete, data: { confirm: 'Are you sure?' } %></td>
<% end %>
<%= link_to 'New Style', new_style_path %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment