<commit_before><div class="normalContent" ng-show="v && homonymes"> 

 <h4 style="margin-top: 2em">Modérer la création du compte</h4>

 <div ng-if="homonymes.length">
   <p style="height: 2em"></p>
     <div class="alert alert-danger" >
       Les informations fournies pour le nouveau compte correspondent à un compte existant.
     </div>
 </div>

 <div ng-repeat="homonyme in homonymes">
   <p style="height: 0.5em">
   <div ng-if="homonyme.comparisons.length == 0">
     Le compte <b>{{homonyme.uid}}</b> correspond exactement.
   </div>
   <div ng-if="homonyme.comparisons.length">
     Voici les différences avec le compte <b>{{homonyme.uid}}</b> :
     <table class="table table-bordered">
       <tbody ng-repeat="e in homonyme.comparisons">
	 <tr>
	   <td>{{label[e.attr]}}</td>
	   <td ng-bind-html="e.cmp[0]"></td>
	   <td ng-bind-html="e.cmp[1]"></td>
	 </tr>
       </tbody>
     </table>
   </div>
   <p style="height: 1em">
 </div>


 <form novalidate name="myForm" ng-submit="submitted = 1; submit()" class="form-horizontal">
   
   <div my-bootstrap-form-group="Shib_Identity_Provider" label="Etablissement" ng-if="v.Shib_Identity_Provider">
     <input name="Shib_Identity_Provider" ng-model="v.Shib_Identity_Provider | formatIdpId" type="text" disabled form-control>
   </div>

   <div my-bootstrap-form-group="eduPersonPrincipalName" label="Identifiant dans l'établissement" ng-if="v.eduPersonPrincipalName">
     <input name="eduPersonPrincipalName" ng-model="v.eduPersonPrincipalName" type="text" disabled form-control>
   </div>

   <div my-bootstrap-form-group="mail" label="Mail" ng-if="v.mail">
     <input name="mail" ng-model="v.mail" type="text" disabled form-control>
   </div>

   <div my-bootstrap-form-group="barcode" label="{{label.barcode}}" ng-if="attrs.barcode">
     <input name="barcode" ng-model="v.barcode" type="number" auto-focus required form-control>
   </div>
   
  
  <div ng-include="'templates/common-attrs.html'"></div>
  <div ng-include="'templates/extern-attrs.html'"></div>

  <div my-bootstrap-form-group>
      <button class="btn btn-primary" type="submit">
	<span class="glyphicon glyphicon-plus"></span>
	Approuver</button>

      <button class="btn btn-primary" ng-click="reject()">
	<span class="glyphicon glyphicon-trash"></span>
	Rejeter</button>
  </div>

 </form>
</div>
<commit_msg>since v.Shib_Identity_Provider is readonly, use ng-value, not ng-model (otherwise we can not apply formatIdpId)<commit_after><div class="normalContent" ng-show="v && homonymes"> 

 <h4 style="margin-top: 2em">Modérer la création du compte</h4>

 <div ng-if="homonymes.length">
   <p style="height: 2em"></p>
     <div class="alert alert-danger" >
       Les informations fournies pour le nouveau compte correspondent à un compte existant.
     </div>
 </div>

 <div ng-repeat="homonyme in homonymes">
   <p style="height: 0.5em">
   <div ng-if="homonyme.comparisons.length == 0">
     Le compte <b>{{homonyme.uid}}</b> correspond exactement.
   </div>
   <div ng-if="homonyme.comparisons.length">
     Voici les différences avec le compte <b>{{homonyme.uid}}</b> :
     <table class="table table-bordered">
       <tbody ng-repeat="e in homonyme.comparisons">
	 <tr>
	   <td>{{label[e.attr]}}</td>
	   <td ng-bind-html="e.cmp[0]"></td>
	   <td ng-bind-html="e.cmp[1]"></td>
	 </tr>
       </tbody>
     </table>
   </div>
   <p style="height: 1em">
 </div>


 <form novalidate name="myForm" ng-submit="submitted = 1; submit()" class="form-horizontal">
   
   <div my-bootstrap-form-group="Shib_Identity_Provider" label="Etablissement" ng-if="v.Shib_Identity_Provider">
     <input name="Shib_Identity_Provider" ng-value="v.Shib_Identity_Provider | formatIdpId" type="text" disabled class="form-control">
   </div>

   <div my-bootstrap-form-group="eduPersonPrincipalName" label="Identifiant dans l'établissement" ng-if="v.eduPersonPrincipalName">
     <input name="eduPersonPrincipalName" ng-model="v.eduPersonPrincipalName" type="text" disabled form-control>
   </div>

   <div my-bootstrap-form-group="mail" label="Mail" ng-if="v.mail">
     <input name="mail" ng-model="v.mail" type="text" disabled form-control>
   </div>

   <div my-bootstrap-form-group="barcode" label="{{label.barcode}}" ng-if="attrs.barcode">
     <input name="barcode" ng-model="v.barcode" type="number" auto-focus required form-control>
   </div>
   
  
  <div ng-include="'templates/common-attrs.html'"></div>
  <div ng-include="'templates/extern-attrs.html'"></div>

  <div my-bootstrap-form-group>
      <button class="btn btn-primary" type="submit">
	<span class="glyphicon glyphicon-plus"></span>
	Approuver</button>

      <button class="btn btn-primary" ng-click="reject()">
	<span class="glyphicon glyphicon-trash"></span>
	Rejeter</button>
  </div>

 </form>
</div>

{'fraction_non_alphanumeric': 0.18007503126302626, 'fraction_numerical': 0.004585243851604835, 'mean_word_length': 4.143622722400857, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 127, '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': '894954', 'n_tokens_mistral': 1735, 'n_tokens_neox': 1658, 'n_words': 331}