<% if @resource.entity_fields.collection.present? %> <% @resource.entity_fields.collection.latest.each do |entity_field| %> <%= render template: 'simple_admin/admin/system/entities/entity_fields/edit', locals: { entity_field: entity_field } %> <% end %> <% else %>

Nothing found

<% end %>
<% if @resource.entity_fields.form.present? %> <% @resource.entity_fields.form.each do |entity_field| %> <%= render template: 'simple_admin/admin/system/entities/entity_fields/edit', locals: { entity_field: entity_field } %> <% end %> <% else %>

Nothing found

<% end %>