<% if @article %>

<%= link_to profile.identifier, :action => 'index' %> <%= @article.hierarchy.map {|item| " / " + ((item == @article) ? item.name : link_to(item.name, :id => item.id)) } %>

<% end %> <%# list the children %>
<% if @article %> <%= link_to _('New subitem'), :action => 'new', :parent_id => @article.id %> <% else %> <%= link_to _('New article'), :action => 'new' %> <% end %>
<%# display the article content %> <% if @article %>

<%= @article.name %>

<%= @article.to_html %> <% end %>