2024-07-16 20:22:59 +02:00
|
|
|
<h1><%= t("scaffold.pagetitle_new", model: Element.model_name.human) %></h1>
|
|
|
|
|
|
2024-07-19 02:29:18 +02:00
|
|
|
<%= turbo_frame_tag "new_element_frame" do %>
|
2024-07-20 16:52:12 +02:00
|
|
|
<div class="border border-info p-3">
|
|
|
|
|
<h2><i class="bi bi-card-checklist me-2"></i>Neues Element</h2>
|
|
|
|
|
<%= render "form", element: @element %>
|
|
|
|
|
</div>
|
2024-07-19 02:29:18 +02:00
|
|
|
<% end %>
|
2024-07-16 20:22:59 +02:00
|
|
|
|
|
|
|
|
<div class="action-row">
|
|
|
|
|
<%= link_to t("scaffold.link_index", model: Element.model_name.human(count: 2)), elements_path %>
|
|
|
|
|
</div>
|