<%= @title.pluralize %>
<% unless @records.empty? %>
<% @records.each do |record| %>
<%= record.name %>
|
<% if !record.respond_to?(:can_delete?) || record.can_delete? %>
<% end %>
|
<% end %>
<% else %>
No <%= @plural %>
<% end %>
New <%= @title.downcase %>