Sha256: 7f71e5e8390b5c4a7750148ed5b07dbfe2c16d95163537a079e4ec58501e68de

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

<%= form.fields_for field.name, page_part, :child_index => child_index do |page_part_builder| %>
  <% field.children.each do |field| %>
    <%= field.render :form, parent_controller, page_part_builder.object, :builder => page_part_builder %>
  <% end %>
  <%= page_part_builder.hidden_field :id, :data => { :acts => 'id' } if page_part_builder.object.persisted? %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puffer_pages-0.5.1 app/components/page_parts/_page_part.html.erb
puffer_pages-0.5.0 app/components/page_parts/_page_part.html.erb