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

= f.input :<%= attribute.name %>

<% end -%>