Sha256: e1e219c4c91e5f20cd78936f3a46764d15f2f06313aa4f3ee485a1ca00bb5793
Contents?: true
Size: 437 Bytes
Versions: 9
Compression:
Stored size: 437 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
9 entries across 9 versions & 1 rubygems