<commit_before><div class="row">
  <div id="ConfigSidebarBox" class="col-md-3" data-ng-include="'views/admin/sidebar.html'"></div>
  <div class="col-md-9">
    <div class="adminConfigSection row" data-ng-controller="AdminUserAddCtrl">
      <form name="newUser" class="addUser col-md-6" novalidate>
        <div class="editorTitle" data-translate>Add new user</div>
        <div class="form-group">
          <label data-translate>Role</label>
          <select name="role" class="form-control" data-ng-model="new_user.role" required>
            <option value="admin" data-translate>Admin</option>
            <option value="receiver" data-translate>Recipient</option>
            <option value="custodian" data-ng-if="admin.node.enable_experimental_features" data-translate>Custodian</option>
          </select>
          <div class="text-danger" data-ng-show="newUser.role.$error.required" data-translate>This field is mandatory</div>
        </div>
        <div class="form-group" data-ng-if="new_user.role !== 'receiver' || !node.simplified_login">
          <label data-translate>Username</label>
          <input class="form-control" name="username" maxlength="{{node.maximum_namesize}}" data-ng-model="new_user.username" type="text" required />
          <div class="text-danger" data-ng-show="newUser.username.$error.required" data-translate>This field is mandatory</div>
        </div>
        <div class="form-group">
          <label data-translate>Name</label>
          <input class="form-control" name="name" maxlength="{{node.maximum_namesize}}" data-ng-model="new_user.name" type="text" required />
          <div class="text-danger" data-ng-show="newUser.name.$error.required" data-translate>This field is mandatory</div>
        </div>
        <div class="form-group">
          <label data-translate>Email address</label>
          <input class="form-control" name="email" data-ng-model="new_user.email" maxlength="{{node.maximum_namesize}}" data-ng-pattern="email_regexp" type="text" required />
          <div class="text-danger" data-ng-show="newUser.email.$error.pattern" data-translate>Invalid email address</div>
          <div class="text-danger" data-ng-show="newUser.email.$error.required" data-translate>This field is mandatory</div>
        </div>
        <div class="form-group">
          <label data-translate>Password</label>
          <div>
            <span data-translate>Default user password is:</span>
            <span class="label label-primary">globaleaks</span>
          </div>
          <div data-translate>The system forces users to change the password at first login.</div>
        </div>
        <div class="form-group">
          <button class="pull-left btn btn-primary" data-ng-disabled="newUser.$invalid" data-ng-click="add_user()" type="submit">
            <i class="glyphicon glyphicon-plus-sign"></i>
            <span data-translate>Add</span>
          </button>
        </div>
      </form>
    </div>
    <div class="adminConfigSection" data-ng-controller="AdminUsersCtrl" data-ng-show="admin.users.length > 0">
      <div class="editorTitle" data-translate>Configured users:</div><commit_msg>Change 'Name' to 'Real name' in admin interface for creating users<commit_after><div class="row">
  <div id="ConfigSidebarBox" class="col-md-3" data-ng-include="'views/admin/sidebar.html'"></div>
  <div class="col-md-9">
    <div class="adminConfigSection row" data-ng-controller="AdminUserAddCtrl">
      <form name="newUser" class="addUser col-md-6" novalidate>
        <div class="editorTitle" data-translate>Add new user</div>
        <div class="form-group">
          <label data-translate>Role</label>
          <select name="role" class="form-control" data-ng-model="new_user.role" required>
            <option value="admin" data-translate>Admin</option>
            <option value="receiver" data-translate>Recipient</option>
            <option value="custodian" data-ng-if="admin.node.enable_experimental_features" data-translate>Custodian</option>
          </select>
          <div class="text-danger" data-ng-show="newUser.role.$error.required" data-translate>This field is mandatory</div>
        </div>
        <div class="form-group" data-ng-if="new_user.role !== 'receiver' || !node.simplified_login">
          <label data-translate>Username</label>
          <input class="form-control" name="username" maxlength="{{node.maximum_namesize}}" data-ng-model="new_user.username" type="text" required />
          <div class="text-danger" data-ng-show="newUser.username.$error.required" data-translate>This field is mandatory</div>
        </div>
        <div class="form-group">
          <label data-translate>Real name</label>
          <input class="form-control" name="name" maxlength="{{node.maximum_namesize}}" data-ng-model="new_user.name" type="text" required />
          <div class="text-danger" data-ng-show="newUser.name.$error.required" data-translate>This field is mandatory</div>
        </div>
        <div class="form-group">
          <label data-translate>Email address</label>
          <input class="form-control" name="email" data-ng-model="new_user.email" maxlength="{{node.maximum_namesize}}" data-ng-pattern="email_regexp" type="text" required />
          <div class="text-danger" data-ng-show="newUser.email.$error.pattern" data-translate>Invalid email address</div>
          <div class="text-danger" data-ng-show="newUser.email.$error.required" data-translate>This field is mandatory</div>
        </div>
        <div class="form-group">
          <label data-translate>Password</label>
          <div>
            <span data-translate>Default user password is:</span>
            <span class="label label-primary"><PASSWORD></span>
          </div>
          <div data-translate>The system forces users to change the password at first login.</div>
        </div>
        <div class="form-group">
          <button class="pull-left btn btn-primary" data-ng-disabled="newUser.$invalid" data-ng-click="add_user()" type="submit">
            <i class="glyphicon glyphicon-plus-sign"></i>
            <span data-translate>Add</span>
          </button>
        </div>
      </form>
    </div>
    <div class="adminConfigSection" data-ng-controller="AdminUsersCtrl" data-ng-show="admin.users.length > 0">
      <div class="editorTitle" data-translate>Configured users:</div>
{'fraction_non_alphanumeric': 0.15918367346938775, 'fraction_numerical': 0.0012558869701726845, 'mean_word_length': 3.230411686586985, 'pattern_counts': {'":': 0, '<': 144, '<?xml version=': 0, '>': 146, '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': '907508', 'n_tokens_mistral': 1898, 'n_tokens_neox': 1861, 'n_words': 354}