<commit_before><div ng-controller="MainCtrl as mainCtrl">
  <div ng-include="'nav.html'"></div>
  <div id="wrapper" class="toggled">
    <div class="overlay"></div>

    <div ng-include="'navProject.html'"></div>

    <section>
      <div class="content-wrapper"  ng-controller="BiobankingCtrl as biobankingCtrl">
        <h3 id="projectBread" style="display: none;"> {{ projectCtrl.currentProject.projectName}} / Consent Forms</h3>
        <div growl reference="10" class="pull-right" ></div>
        <div class="row" style="margin: 50px">


          <div class="panel panel-default"   ng-show="biobankingCtrl.undefinedConsents.length > 0">
            <div class="panel-heading"  style="background-color: #FFF8FF">
              <h3 class="panel-title">Unregistered Consent Forms</h3>
              <div class="panel-body">
                <div class="col-lg-11">
                  <div class="row">
                    <div class="col-md-12" style="margin-top: 25px;">
                      <div class="table-responsive" style="overflow: hidden;">

                        <form name="consentsForm" class="form-horizontal nodeGroupForm" ng-submit="biobankingCtrl.register()">

                          <table class="table table-bordered table-hover">

                            <thead>
                            <th >Name</th>
                            <th >Consent Type</th>
                            <th >Consent Status</th>
                            </thead>

                            <tbody ng-model="biobankingCtrl.undefinedConsents">

                              <tr ng-repeat="consent in biobankingCtrl.undefinedConsents| orderBy: 'name'"
                                  data-target="menu-{{ $index}}"
                                  id="table-{{ $index}}">
                                <td><a ng-click="biobankingCtrl.downloadFile(consent.path)">{{consent.path}}</a></td>
                                <td>
                                  <select ng-model="consent.consentType">
                                    <option ng-repeat="item in biobankingCtrl.consentTypes" value="{{item.name}}">{{item.name}}</option>
                                  </select>
                                </td>
                                <td>{{consent.consentStatus}}</td>
                              </tr>
                            </tbody>
                          </table>
                          <button type="submit" class="btn btn-primary" 
                                  ng-click="biobankingCtrl.registerConsents()"
                                  ng-disabled="biobankingCtrl.registerDisabled" 
                                  ng-show="biobankingCtrl.undefinedConsents.length > 0">Register</button>
                        </form>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>


          <div class="panel panel-default">
            <div class="panel-heading"  style="background-color: #EDFFED">
              <h3 class="panel-title">Registered Consent Forms</h3>
              <div class="panel-body">
                <div class="col-lg-11">
                  <div class="row">
                    <div class="col-md-12" style="margin-top: 25px;">
                      <div class="table-responsive" style="overflow: hidden;">

                        <table class="table table-bordered table-hover" ng-show="biobankingCtrl.registeredConsents.length > 0">

                          <thead>
                          <th >Name</th>
                          <th >Consent Type</th>
                          <th >Consent Status</th>
                          </thead>

                          <tbody ng-model="biobankingCtrl.registeredConsents">
                            <tr ng-repeat="consent in biobankingCtrl.registeredConsents| orderBy: 'name'"
                                data-target="menu-{{ $index}}"
                                id="table-{{ $index}}">
                              <td><a ng-click="biobankingCtrl.downloadFile(consent.path)">{{consent.path}}</a></td>
                              <td>{{consent.consentType}}</td>
                              <td>{{consent.consentStatus}}</td>
                            </tr>
                          </tbody>
                        </table>
                        <span ng-show="biobankingCtrl.registeredConsents.length == 0 && biobankingCtrl.undefinedConsents.length == 0">Upload consent files to the consent folder.</span><commit_msg>Modified consent name to generic form names requested by roxana<commit_after><div ng-controller="MainCtrl as mainCtrl">
  <div ng-include="'nav.html'"></div>
  <div id="wrapper" class="toggled">
    <div class="overlay"></div>

    <div ng-include="'navProject.html'"></div>

    <section>
      <div class="content-wrapper"  ng-controller="BiobankingCtrl as biobankingCtrl">
        <h3 id="projectBread" style="display: none;"> {{ projectCtrl.currentProject.projectName}} / Forms</h3>
        <div growl reference="10" class="pull-right" ></div>
        <div class="row" style="margin: 50px">


          <div class="panel panel-default"   ng-show="biobankingCtrl.undefinedConsents.length > 0">
            <div class="panel-heading"  style="background-color: #FFF8FF">
              <h3 class="panel-title">Unregistered Forms</h3>
              <div class="panel-body">
                <div class="col-lg-11">
                  <div class="row">
                    <div class="col-md-12" style="margin-top: 25px;">
                      <div class="table-responsive" style="overflow: hidden;">

                        <form name="consentsForm" class="form-horizontal nodeGroupForm" ng-submit="biobankingCtrl.register()">

                          <table class="table table-bordered table-hover">

                            <thead>
                            <th >Name</th>
                            <th >Form Type</th>
                            <th >Form Status</th>
                            </thead>

                            <tbody ng-model="biobankingCtrl.undefinedConsents">

                              <tr ng-repeat="consent in biobankingCtrl.undefinedConsents| orderBy: 'name'"
                                  data-target="menu-{{ $index}}"
                                  id="table-{{ $index}}">
                                <td><a ng-click="biobankingCtrl.downloadFile(consent.path)">{{consent.path}}</a></td>
                                <td>
                                  <select ng-model="consent.consentType">
                                    <option ng-repeat="item in biobankingCtrl.consentTypes" value="{{item.name}}">{{item.name}}</option>
                                  </select>
                                </td>
                                <td>{{consent.consentStatus}}</td>
                              </tr>
                            </tbody>
                          </table>
                          <button type="submit" class="btn btn-primary" 
                                  ng-click="biobankingCtrl.registerConsents()"
                                  ng-disabled="biobankingCtrl.registerDisabled" 
                                  ng-show="biobankingCtrl.undefinedConsents.length > 0">Register</button>
                        </form>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>


          <div class="panel panel-default">
            <div class="panel-heading"  style="background-color: #EDFFED">
              <h3 class="panel-title">Registered Forms</h3>
              <div class="panel-body">
                <div class="col-lg-11">
                  <div class="row">
                    <div class="col-md-12" style="margin-top: 25px;">
                      <div class="table-responsive" style="overflow: hidden;">

                        <table class="table table-bordered table-hover" ng-show="biobankingCtrl.registeredConsents.length > 0">

                          <thead>
                          <th >Name</th>
                          <th >Form Type</th>
                          <th >Form Status</th>
                          </thead>

                          <tbody ng-model="biobankingCtrl.registeredConsents">
                            <tr ng-repeat="consent in biobankingCtrl.registeredConsents| orderBy: 'name'"
                                data-target="menu-{{ $index}}"
                                id="table-{{ $index}}">
                              <td><a ng-click="biobankingCtrl.downloadFile(consent.path)">{{consent.path}}</a></td>
                              <td>{{consent.consentType}}</td>
                              <td>{{consent.consentStatus}}</td>
                            </tr>
                          </tbody>
                        </table>
                        <span ng-show="biobankingCtrl.registeredConsents.length == 0 && biobankingCtrl.undefinedConsents.length == 0">Upload consent files to the consent folder.</span>
{'fraction_non_alphanumeric': 0.13177956872141144, 'fraction_numerical': 0.006098889130908299, 'mean_word_length': 1.2758364312267658, 'pattern_counts': {'":': 0, '<': 191, '<?xml version=': 0, '>': 197, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1756031', 'n_tokens_mistral': 2461, 'n_tokens_neox': 2230, 'n_words': 397}