Sha256: 94bf892e9b41fbcad9d0d165dc743838e769359e8e75c4c7a3ccbe667f3ed9bb
Contents?: true
Size: 488 Bytes
Versions: 5
Compression:
Stored size: 488 Bytes
Contents
<%= form_with(model: container, url:, scope:, **html_attributes) do %> <%# Hidden input ensures that if the container is empty then the controller receives an empty array. %> <input type="hidden" name="<%= attributes_scope %>[id]"> <%= render Katalyst::Content::Editor::ErrorsComponent.new(container:) %> <%= render Katalyst::Content::Editor::TableComponent.new(container:) do |list| %> <%= container.draft_items.each { |item| list.with_item(item) } %> <% end %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems