<%- attributes.each do |field| -%>

form.<%= field.field_method %> :<%= field.field_name %><%= field_options_for(field) %>

<%- end -%>