$action.getText("title.edit.user") #if ($username): $username #end

#requireResource("confluence.web.resources:aui-forms")
#parse ( "/template/includes/actionerrors.vm" ) « $action.getText("return.to.view.user")
#if ($actionErrors.size() == 0) #applyDecorator("form-aui") #decoratorParam("formName" "editUser") #decoratorParam("submitAction" "doedituser.action?#url_xsrfToken()&username=$!generalUtil.doubleUrlEncode($user.name)") #decoratorParam("editMode" "true")

## $action.getText('title.edit.user'): $username

$action.getText('title.edit.user'): $username #if (!$settingsManager.getGlobalSettings().isExternalUserManagement() && !$userAccessor.isReadOnly($user)) #tag( "TextField" "label='fullname.name'" "name='fullName'" "size='50'" "theme='aui'" ) #tag( "TextField" "label='email.name'" "name='email'" "size='50'" "theme='aui'" ) #else #tag( "TextField" "label='fullname.name'" "name='fullName'" "size='50'" "theme='aui'" "readonly=true" ) #tag( "TextField" "label='email.name'" "name='email'" "size='50'" "theme='aui'" "readonly=true" ) #end #foreach ($group in $action.userDetailsGroups) #foreach ($key in $action.getUserDetailsKeys($group)) #tag( "TextField" "label='confluence.user.profile.$key'" "name='userparam-$key'" "value=getUserProperty('$key')" "size='50'" "theme='aui'" ) #end #end #bodytag ("Component" "name='personalInformation'" "template='textarea.vm'" "theme='aui'") #param ("label" "$action.getText('personal.info')") #param ("rows" 8) #param ("cols" 70) #end #tag( "Submit" "theme='aui'" )
#end #end #parse ( "/breadcrumbs.vm" )