<%= t("scaffold.pagetitle_edit", model: Checklist.model_name.human) %>

<%= render "form", checklist: @checklist %>

Checks

<%= turbo_frame_tag "new_checklist_entry" do %> <%= link_to tag.i(class: "bi bi-plus"), new_checklist_entry_path(checklist_id: @checklist.id), class: "btn btn-primary", data: { turbo_frame: "new_checklist_entry"} %> <% end %>
<% @checklist.checklist_entries.each do |entry| %> <%= turbo_frame_tag dom_id(entry, :frame) do %> <%= render entry %> <% end %> <% end %>
<%= link_to t("scaffold.link_show", model: Checklist.model_name.human), @checklist %> <%= link_to t("scaffold.link_index", model: Checklist.model_name.human(count: 2)), checklists_path %>