- f.inputs do <% attributes.each do |attribute| -%> = f.input :<%= attribute.name %>, :label => '<%= attribute.name.humanize %>' <% end -%>