<commit_before><div class="profile">
  <div class="profile-heading">
    <div class="btn-group pull-right">
        <button type="button" class="btn btn-secondary" ng-click="toggleChangePassword()">{{'CHANGE_PASSWORD' | translate}}</button>
    </div>
    <h1>
      <i class="ion-ios-arrow-thin-left" ng-if="changePasswordIsActive" ng-click="toggleChangePassword()"></i>
      {{'PROFILE_SETTINGS' | translate}}

      <div class="spinner" ng-show="loading">
        <div class="bounce1"></div>
        <div class="bounce2"></div>
        <div class="bounce3"></div>
      </div>
    </h1>

    <hr/>
  </div>

  <div class="profile-inner" ng-class="{'password-active': changePasswordIsActive}">
    <form name="profileForm" class="form-horizontal">

      <div class="form-group" >
        <div class="col-sm-3">
          <label class="control-label">{{'PROFIlE.USERNAME' | translate}}</label>
        </div>
        <div class="col-sm-9">
          <input type="email" class="form-control" disabled ng-model="user.username" placeholder="{{'PROFIlE.USERNAME' | translate}}">
        </div>
      </div>

      <div class="form-group" >
        <div class="col-sm-3">
          <label class="control-label">{{'PROFIlE.FULL_NAME' | translate}}</label>
        </div>
        <div class="col-sm-9">
          <input type="text" class="form-control" ng-model="user.fullName" placeholder="{{'PROFIlE.FULL_NAME' | translate}}">
        </div>
      </div>

      <div class="form-group" >
        <div class="col-sm-3">
          <label class="control-label">{{'PROFIlE.LANGUAGE' | translate}}</label>
        </div>
        <div class="col-sm-9">
          <select class="form-control" ng-model="user.language" ng-options="lang as ('LANGUAGE_'+lang | translate) for lang in $root.availableLanguages"></select>
        </div>
      </div>

      <div class="form-group" >
        <div class="col-sm-3">
          <label class="control-label">{{'PROFIlE.PAUSE_ON_CLICK' | translate}}</label>
        </div>
        <div class="col-sm-9">
          <input type="checkbox" ng-model="user.pauseVideoOnClick">
        </div>
      </div>


      <div class="form-group" ng-show="availableGenres.length">
        <div class="col-sm-3">
          <label class="control-label">{{'PROFIlE.FAVORITE_GENRES' | translate}}</label>
        </div>
        <div class="col-sm-9">
          <ul class="genre-list">
            <li class="genre-tag" ng-class="{'active': isGenreSelected(genre)}" ng-repeat="genre in availableGenres | orderBy:'name'" ng-click="toggleSelectGenre(genre)">
              {{genre.name}}
            </li>
          </ul>
        </div>
      </div>

      <hr/>


      <button class="btn btn-success pull-right" ng-show="profileForm.$dirty" ng-click="saveProfile()">{{'PROFIlE.SAVE' | translate}}</button>

      

    </form>
<commit_msg>hide "change password" button if in "change password" view<commit_after><div class="profile">
  <div class="profile-heading">
    <div class="btn-group pull-right">
        <button type="button" class="btn btn-secondary" ng-click="toggleChangePassword()" ng-if="!changePasswordIsActive">{{'CHANGE_PASSWORD' | translate}}</button>
    </div>
    <h1>
      <i class="ion-ios-arrow-thin-left" ng-if="changePasswordIsActive" ng-click="toggleChangePassword()"></i>
      {{'PROFILE_SETTINGS' | translate}}

      <div class="spinner" ng-show="loading">
        <div class="bounce1"></div>
        <div class="bounce2"></div>
        <div class="bounce3"></div>
      </div>
    </h1>

    <hr/>
  </div>

  <div class="profile-inner" ng-class="{'password-active': changePasswordIsActive}">
    <form name="profileForm" class="form-horizontal">

      <div class="form-group" >
        <div class="col-sm-3">
          <label class="control-label">{{'PROFIlE.USERNAME' | translate}}</label>
        </div>
        <div class="col-sm-9">
          <input type="email" class="form-control" disabled ng-model="user.username" placeholder="{{'PROFIlE.USERNAME' | translate}}">
        </div>
      </div>

      <div class="form-group" >
        <div class="col-sm-3">
          <label class="control-label">{{'PROFIlE.FULL_NAME' | translate}}</label>
        </div>
        <div class="col-sm-9">
          <input type="text" class="form-control" ng-model="user.fullName" placeholder="{{'PROFIlE.FULL_NAME' | translate}}">
        </div>
      </div>

      <div class="form-group" >
        <div class="col-sm-3">
          <label class="control-label">{{'PROFIlE.LANGUAGE' | translate}}</label>
        </div>
        <div class="col-sm-9">
          <select class="form-control" ng-model="user.language" ng-options="lang as ('LANGUAGE_'+lang | translate) for lang in $root.availableLanguages"></select>
        </div>
      </div>

      <div class="form-group" >
        <div class="col-sm-3">
          <label class="control-label">{{'PROFIlE.PAUSE_ON_CLICK' | translate}}</label>
        </div>
        <div class="col-sm-9">
          <input type="checkbox" ng-model="user.pauseVideoOnClick">
        </div>
      </div>


      <div class="form-group" ng-show="availableGenres.length">
        <div class="col-sm-3">
          <label class="control-label">{{'PROFIlE.FAVORITE_GENRES' | translate}}</label>
        </div>
        <div class="col-sm-9">
          <ul class="genre-list">
            <li class="genre-tag" ng-class="{'active': isGenreSelected(genre)}" ng-repeat="genre in availableGenres | orderBy:'name'" ng-click="toggleSelectGenre(genre)">
              {{genre.name}}
            </li>
          </ul>
        </div>
      </div>

      <hr/>


      <button class="btn btn-success pull-right" ng-show="profileForm.$dirty" ng-click="saveProfile()">{{'PROFIlE.SAVE' | translate}}</button>



    </form>

{'fraction_non_alphanumeric': 0.1939677587103484, 'fraction_numerical': 0.005200208008320333, 'mean_word_length': 2.710610932475884, 'pattern_counts': {'":': 0, '<': 153, '<?xml version=': 0, '>': 153, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '137392', 'n_tokens_mistral': 1918, 'n_tokens_neox': 1870, 'n_words': 313}