= semantic_form_for @<%= singular_name %> do |f| = f.inputs do <%- attributes.each do |attribute| -%> = f.input :<%= attribute.name %> <%- end -%> = f.actions do = f.action :submit, as: :input