#macro userProfileFormFields> <#assign currentGroup=""> <#list profile.attributes as attribute> <#assign groupName = attribute.group!""> <#if groupName != currentGroup> <#assign currentGroup=groupName> <#if currentGroup != "" >