2024-07-16 20:22:59 +02:00
|
|
|
<h1><%= t("scaffold.pagetitle_new", model: Checklist.model_name.human) %></h1>
|
|
|
|
|
|
|
|
|
|
<%= render "form", checklist: @checklist %>
|
|
|
|
|
|
2024-07-20 16:52:12 +02:00
|
|
|
<% @checklist.checklist_entries.each do |entry| %>
|
|
|
|
|
<%= turbo_frame_tag dom_id(entry, :frame) do %>
|
|
|
|
|
<%= render entry %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
2024-07-16 20:22:59 +02:00
|
|
|
<div class="action-row">
|
|
|
|
|
<%= link_to t("scaffold.link_index", model: Checklist.model_name.human(count: 2)), checklists_path %>
|
|
|
|
|
</div>
|