effective_form_with(model: <%= form_for %>) do |f|

<% resource.belong_tos.each do |reference| -%> <%= render_field(reference, depth: 1) %> <% end -%> <% attributes.each do |attribute| -%> <%= render_field(attribute, depth: 1) %> <% end -%>

= effective_submit(f)