#function displayFieldset user_levels attributes_list> <#assign var = false> <#list attributes_list as attribute> <#if attribute.plugin?exists && attribute.plugin.name =="profiles"> <#assign var = true> <#break> #if> #list> <#if user_levels?has_content || var = true> <#return true> #if> <#return false> #function> <@row> <@columns> <@box color='success'> <@boxBody> <@tform method='post' name='create_user' action='jsp/admin/user/DoCreateUser.jsp' params='enctype="multipart/form-data"'> <@input type='hidden' name='token' value='${token}' /> <@row> <@columns md=4 lg=4> <@fieldSet legend='#i18n{portal.users.create_user.labelIdentity}' > <@formGroup labelKey='#i18n{portal.users.create_user.labelLastName}' labelFor='last_name' rows=2 mandatory=true> <@inputGroup> <@inputGroupItem type='text'> <@icon style='user' /> @inputGroupItem> <@input type='text' id='last_name' name='last_name' value='' maxlength=100 /> @inputGroup> @formGroup> <@formGroup labelKey='#i18n{portal.users.create_user.labelFirstName}' labelFor='first_name' rows=2 mandatory=true> <@inputGroup> <@inputGroupItem type='text'> <@icon style='user' /> @inputGroupItem> <@input type='text' id='first_name' name='first_name' value='' maxlength=100 /> @inputGroup> @formGroup> <@formGroup labelKey='#i18n{portal.users.create_user.labelEmail}' labelFor='email' rows=2 mandatory=true> <@inputGroup> <@inputGroupItem type='text'> <@icon style='envelope' /> @inputGroupItem> <@input type='text' id='email' name='email' value='' maxlength=100 /> @inputGroup> @formGroup> @fieldSet> @columns> <@columns md=4 lg=4> <@fieldSet legend='#i18n{portal.users.create_user.labelAccount}'> <@formGroup labelKey='#i18n{portal.users.create_user.labelAccessCode}' labelFor='access_code' rows=2 mandatory=true> <@inputGroup> <@inputGroupItem type='text'> <@icon style='star' /> @inputGroupItem> <@input type='text' id='access_code' name='access_code' value='' maxlength=100 /> @inputGroup> @formGroup> <@formGroup labelFor='first_password' labelKey='#i18n{portal.users.create_user.labelFirstPassword}' helpKey='${i18n("portal.users.message.password.minimumPasswordLength",minimumPasswordSize)}' mandatory=true rows=2> <@inputGroup> <@inputGroupItem type='text'> <@icon style='lock' /> @inputGroupItem> <@input type='password' id='first_password' name='first_password' maxlength=100 value='' /> <@inputGroupItem> <@button type='button' id='generate_password' title='#i18n{portal.users.create_user.buttonLabelGeneratePassword}' hideTitle=['all'] buttonIcon='cog' size='' color='secondary' /> @inputGroupItem> @inputGroup> @formGroup> <@formGroup labelKey='#i18n{portal.users.create_user.labelSecondPassword}' labelFor='second_password' rows=2 helpKey='#i18n{portal.users.create_user.passwordComplexity}' mandatory=true> <@inputGroup> <@inputGroupItem type='text'> <@icon style='lock' /> @inputGroupItem> <@input type='password' id='second_password' name='second_password' maxlength=100 value='' /> @inputGroup> @formGroup> <@formGroup rows=2> <@progressBar /> @formGroup>