anchor.diff:  
     <div class='user-profile-header'>
       <form:hidden id="avatar" path="avatar" value="${editedUser.avatar}"/>
  +    <form:hidden id="editedUserId" path="userId" value="${editedUser.userId}"/>
  +    <form:hidden id="editedUsername" path="username" value="${editedUser.username}"/>
       <span class="pull-left thumbnail">
         <span id="avatarPreviewContainer" class="wraptocenter">
           <%--String prefix "data:image/jpeg;base64," needed for correct image rendering--%>
  
positive.code:   <c:choose>
      <%--Profile--%>
      <c:when test="${editedUser.userProfileDto != null}">
        <form:hidden path="userId" value="${editedUser.userId}"/>
        <form:hidden id="editedUserId" path="userProfileDto.userId" value="${editedUser.userProfileDto.userId}"/>
        <form:hidden id="editedUsername" path="username" value="${editedUser.username}"/>
  
        <div class="user-profile-top-buttons">
          <c:if test="${isCanEditProfile}">
  
negative.code:   </jtalks:hasPermission>
  </c:if>
  <c:if test="${editedUser.username == auth}">
    <jtalks:hasPermission targetId='${userId}' targetType='USER' permission='ProfilePermission.EDIT_OWN_PROFILE'>
      <c:set var="isCanEditProfile" value="true"/>
      <c:set var="isShowAllFields" value="true"/>
    </jtalks:hasPermission>
  