Sha256: b44d60a0be12bf29f5026fb97fca5eb904971b031870209c628dddea63078262
Contents?: true
Size: 436 Bytes
Versions: 6
Compression:
Stored size: 436 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 errors %> <%= render Katalyst::Content::Editor::TableComponent.new(container:) do |list| %> <%= container.draft_items.each { |item| list.with_item(item) } %> <% end %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems