app/views/godmin/resource/_form.html.erb
<%= form_for @resource do |f| %>
<% @resource_service.attrs_for_form.each do |attribute| %>
<% if f.object.class.reflect_on_association(attribute) %>
<%= f.association attribute %>
<% else %>
<%= f.input attribute %>
<% end %>
<% end %>
<%= f.submit %>
<% end %>