<form action=“” method=“post”>

<%- @attributes.each do |a| -%>
<%= a.html %>

<%- end -%>

</form>