<%
  page_title = Typus::I18n.t("Edit '%{label}'", label: @item.to_label)
  admin_title(page_title)
%>

<% content_for :main_grid do %>
  <%= render 'edit' %>

  <% unless headless_mode? %>
    <h1><%= page_title %></h1>
  <% end %>

  <%= admin_display_flash_message %>

  <% locals = { options: params.dup.cleanup.merge!(action: 'update') } %>
  <%= render 'form', locals %>

  <%= render 'admin/shared/modals' unless headless_mode? %>
<% end %>

<%
  page_title = Typus::I18n.t("Edit '%{label}'", label: @item.to_label)
  admin_title(page_title)
%>

<% content_for :main_grid do %>
  <%= render 'edit' %>

  <% unless headless_mode? %>
    <h1><%= page_title %></h1>
  <% end %>

  <%= admin_display_flash_message %>

  <% locals = { options: params.dup.cleanup.merge!(action: 'update') } %>
  <%= render 'form', locals %>

  <% unless headless_mode? %>
    <%= render 'admin/shared/modals' %>
    <%= typus_relationships %>
  <% end %>
<% end %>

Revert "Get rid of "typus_relationships"."
Revert "Get rid of "typus_relationships"."

This reverts commit da21dd5a41615c62f1651b1f912d45c80ad9ad43.
