<%= render partial: 'editable_pages/entity/metadata', locals: { entity: @editable_page } %>
<% content_for :breadcrumbs do %>
  <span><%= t('.nav_text') %></span>
<% end %>

<article class="editable-page">
  <% unless @editable_page.nil? %>
    <%=
      render(
          partial: 'editable_pages/entity/content',
          locals: { entity: @editable_page }
      )
    %>
  <% end %>

  <%= render partial: 'feedback_requests/form' %>
</article>

<% unless @editable_page.nil? %>
  <%=
    render(
        partial: 'editable_pages/entity/metadata',
        locals: { entity: @editable_page }
    )
  %>
<% end %>
<% content_for :breadcrumbs do %>
  <span><%= t('.nav_text') %></span>
<% end %>

<article class="editable-page">
  <% unless @editable_page.nil? %>
    <%=
      render(
          partial: 'editable_pages/entity/content',
          locals: { entity: @editable_page }
      )
    %>
  <% end %>

  <%= render partial: 'feedback_requests/form' %>
</article>

Check if editable page exists before rendering metadata
Check if editable page exists before rendering metadata
