%%= labelled_form_for(@<%= singular_table_name %>) do |f| %> <%%= error_messages_for "<%= singular_table_name %>" %>
<%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
<%%= f.submit %>