Sha256: 7254e69dc3ebe15cb6913ea9562e0b9b320c3ea29067b5d594993975620f9682

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

<%# Define the Part Object %>

<% part_object = resource.part_objects.build %>

<%# Build the fields %>
  <%#= semantic_fields_for resource, namespace: 'new_part_form' do |r| %>
<%= render partial: "admin/part_objects/part_object", locals: {part_object: part_object, part: resource, form_prefix: params[:form_name]} %> 
  <%# end %>


  <a class="button section_has_many_remove" href="#">Remove</a>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin-magicfields-0.4.2 lib/app/views/admin/parts/_part.html.erb
activeadmin-magicfields-0.4.1 lib/app/views/admin/parts/_part.html.erb
activeadmin-magicfields-0.4.0 lib/app/views/admin/parts/_part.html.erb