Sha256: fd9452409964c2bd16847dacdf1e5893ec02371e3fbf952d272599a2f361d2bf
Contents?: true
Size: 461 Bytes
Versions: 9
Compression:
Stored size: 461 Bytes
Contents
<%= form_with(model: menu, url: helpers.katalyst_navigation.menu_path, **html_attributes) do |form| %> <%# 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::Navigation::Editor::TableComponent.new(menu:) do |list| %> <%= menu.draft_items.each { |item| list.with_item(item) } %> <% end %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems