%%= simple_form_for(@<%= singular_name %>) do |f| %>
<%%= f.error_notification %>
<%- attributes.each do |attribute| -%>
<%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
<%- end -%>
<%%= f.button :submit %>
<%% end %>