<#assign helpKey=''> <#if attribute.helpMessage?exists&&attribute.helpMessage!=''><#assign helpKey = attribute.helpMessage> <@formGroup labelKey='${attribute.title?html}' labelFor='attribute_${attribute.idAttribute}' helpKey=helpKey rows=2 mandatory=attribute.mandatory> <#if default_values_list??> <#assign file = default_values_list> <@img url='image?resource_type=core_attribute_img&id=${file.idFile}' alt='' title='' /> <#else> <@input type='hidden' name='update_attribute_${attribute.idAttribute}' value='true' /> <@input type='file' name='attribute_${attribute.idAttribute}' id='attribute_${attribute.idAttribute}' /> <#if default_values_list??><@checkBox orientation='switch' value='1' name='update_attribute_${attribute.idAttribute}' id='update_attribute_${attribute.idAttribute}' labelKey='#i18n{portal.users.attribute.labelUpdate}' />