%%%= form_for(@<%%= singular_table_name %>) do |f| %> <%% object = "@#{singular_table_name}" -%> <%%%= render 'error_messages', <%%= key_value :target, object %> %> <%% attributes.each do |attribute| -%>