<h1><%= t("scaffold.pagetitle_new", model: Element.model_name.human) %></h1>

<%= turbo_frame_tag "new_element_frame" do %>
  <div class="border border-info p-3">
    <%= render "form", element: @element %>
  </div>
<% end %>

<div class="action-row">
  <%= link_to t("scaffold.link_index", model: Element.model_name.human(count: 2)), page_elements_path %>
</div>
