%%= form_for @<%= resource_name %>, :html => { :class => 'form-horizontal' } do |f| %> <%- columns.each do |column| -%>