<%- model_class = Content.new.class -%> <% @contents.each do |content| %> <% end %>
<%= model_class.human_attribute_name(:slug) %> <%= model_class.human_attribute_name(:title) %> <%=t '.actions', :default => t("helpers.actions") %>
<%= link_to content.slug, content_path(content) %> <%= content.title %> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_content_path(content), :class => 'btn btn-mini' %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), content_path(content), :method => :delete, :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')), :class => 'btn btn-mini btn-danger' %>
<%= link_to t('.new', :default => t("helpers.links.new")), new_content_path, :class => 'btn btn-primary' %>