% if @object.respond_to? :properties %>
<% content_for :page_title do %>
<%= @object.properties[:page_title] || @object.friendly_link_name %>
<% end %>
<% if @object.properties[:page_content] %>
<% content_for :page_content do %>
<%= render_content_from_database(@object.properties[:page_title] || @object.uuid) %>
<% if @object.properties[:page_subtitle] %>
<%= render_content_from_database @object.properties[:page_subtitle] %>
<% end %>
<%= render_content_from_database @object.properties[:page_content] %>
<% end %>
<% end %>
<% end %>
<%= render :partial => 'application/arvados_object' %>