%- model_class = @content.class -%>
- <%= model_class.human_attribute_name(:_type) %>:
- <%= @content._type %>
- <%= model_class.human_attribute_name(:_id) %>:
- <%= @content._id %>
- <%= model_class.human_attribute_name(:slug) %>:
- <%= @content.slug %>
<%= link_to t('.back', :default => t("helpers.links.back")),
contents_path, :class => 'btn' %>
<%= link_to t('.edit', :default => t("helpers.links.edit")),
edit_content_path(@content.ancestry), :class => 'btn' %>
<%= 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-danger' %>