% content_for :page_title do %>
<%= (@object.respond_to?(:properties) ? @object.properties[:page_title] : nil) ||
@object.friendly_link_name %>
<% end %>
<% content_for :content_top do %>
<% if @object.respond_to? :properties %>
<% 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 %>
<% end %>
<%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.show_pane_list }%>