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