Listing parents

<% @parents.each do |parent| %> <% end %>
Name
<%=h parent.name %> <%= link_to 'Show', parent %> <%= link_to 'Edit', edit_parent_path(parent) %> <%= link_to 'Destroy', parent, :confirm => 'Are you sure?', :method => :delete %>

<%= link_to 'New parent', new_parent_path %>