Modname | Modtext | Category | |||
---|---|---|---|---|---|
<%=h mod.modname %> | <%= mod.modtext.html_safe %> | <%= mod.category.name %> | <%= link_to 'Show', mod %> | <%= link_to 'Edit', edit_mod_path(mod) %> | <% unless mod.id == 2 %><%= button_to 'Destroy', mod, :confirm => 'Are you sure?', :method => :delete %> | <% end %>