<commit_before><template>
  <div>
    <div class="process-breadcrumbs-container">
      <div class="container">
        <div class="row">
          <ol class="process-breadcrumbs col-md-8">
            <li :class="{ 'active': stepSelectPublicBody, 'done': stepReviewReady}">
              <a href="#step-publicbody" @click="setStepPublicBody" v-if="!hidePublicbodyChooser">
                <i class="fa fa-check-circle" aria-hidden="true"></i>
                Behörde wählen
              </a>
              <span v-else>
                <i class="fa fa-check-circle" aria-hidden="true"></i>
                Behörde wählen
              </span>
            </li>
            <li :class="{ 'active': stepReviewReady}">
              <a href="#step-request"  @click="setStepRequest" v-if="stepReviewReady">
                <i class="fa" :class="{ 'fa-check-circle': stepReviewReady, 'fa-check-circle-o': !stepReviewReady }" aria-hidden="true"></i>
                Anfrage stellen
              </a>
              <span v-else>
                <i class="fa" :class="{ 'fa-check-circle': stepReviewReady, 'fa-check-circle-o': !stepReviewReady }" aria-hidden="true"></i>
                Anfrage stellen
              </span>
            </li>
            <li>
              <a href="#step-review" data-toggle="modal" v-if="stepReviewReady">
                <i class="fa fa-check-circle-o" aria-hidden="true"></i>
                Prüfen
              </a>
              <span v-else>
                <i class="fa fa-check-circle-o" aria-hidden="true"></i>
                Prüfen
              </span>
            </li>
          </ol>
        </div>
      </div>
    </div>

    <div :class="{container: !multiRequest, 'container-multi': multiRequest}">

      <slot name="messages"></slot>

      <div class="row justify-content-lg-center">
        <div class="col-lg-12">

          <fieldset v-if="stepSelectPublicBody" id="step-publicbody" class="mt-5">
            <div v-if="multiRequest">
              <publicbody-multi-chooser
                name="publicbody"
                :defaultsearch="publicBodySearch"
                :scope="pbScope"
                :config="config"></publicbody-multi-chooser>
            </div>
            <div v-else>
              <div class="row">
                <div class="col-lg-7">
                  <slot name="publicbody-legend-title"></slot>
                  <slot name="publicbody-help-text"></slot>
                </div>
              </div>
              <div class="row">
                <div class="col-lg-8">
                  <publicbody-chooser
                    name="publicbody"
                    :defaultsearch="publicBodySearch"
                    :scope="pbScope"
                    :config="config"
                    :list-view="publicBodyListView"></publicbody-chooser>
                </div>
                <div class="col-lg-4 small">
                  <slot name="publicbody-missing"></slot>
                </div>
              </div>
            </div>
          </fieldset>

          <fieldset v-if="stepReviewReady" id="step-request" class="mt-3">

            <slot name="request-legend-title"></slot>

            <div v-if="multiRequest" class="publicbody-summary-container">
              <div class="publicbody-summary">
                <p>
                  {{ i18n._('toMultiPublicBodies', {count: publicBodies.length}) }}

                  <span v-if="!hidePublicbodyChooser">
                    <a class="pb-change-link badge badge-pill badge-primary ml-3" href="#step-publicbody" @click="setStepPublicBody">
                      {{ i18n.change }}
                    </a>
                  </span>
                </p>
              </div>
            </div><commit_msg>Display public body name on multi when only one<commit_after><template>
  <div>
    <div class="process-breadcrumbs-container">
      <div class="container">
        <div class="row">
          <ol class="process-breadcrumbs col-md-8">
            <li :class="{ 'active': stepSelectPublicBody, 'done': stepReviewReady}">
              <a href="#step-publicbody" @click="setStepPublicBody" v-if="!hidePublicbodyChooser">
                <i class="fa fa-check-circle" aria-hidden="true"></i>
                Behörde wählen
              </a>
              <span v-else>
                <i class="fa fa-check-circle" aria-hidden="true"></i>
                Behörde wählen
              </span>
            </li>
            <li :class="{ 'active': stepReviewReady}">
              <a href="#step-request"  @click="setStepRequest" v-if="stepReviewReady">
                <i class="fa" :class="{ 'fa-check-circle': stepReviewReady, 'fa-check-circle-o': !stepReviewReady }" aria-hidden="true"></i>
                Anfrage stellen
              </a>
              <span v-else>
                <i class="fa" :class="{ 'fa-check-circle': stepReviewReady, 'fa-check-circle-o': !stepReviewReady }" aria-hidden="true"></i>
                Anfrage stellen
              </span>
            </li>
            <li>
              <a href="#step-review" data-toggle="modal" v-if="stepReviewReady">
                <i class="fa fa-check-circle-o" aria-hidden="true"></i>
                Prüfen
              </a>
              <span v-else>
                <i class="fa fa-check-circle-o" aria-hidden="true"></i>
                Prüfen
              </span>
            </li>
          </ol>
        </div>
      </div>
    </div>

    <div :class="{container: !multiRequest, 'container-multi': multiRequest}">

      <slot name="messages"></slot>

      <div class="row justify-content-lg-center">
        <div class="col-lg-12">

          <fieldset v-if="stepSelectPublicBody" id="step-publicbody" class="mt-5">
            <div v-if="multiRequest">
              <publicbody-multi-chooser
                name="publicbody"
                :defaultsearch="publicBodySearch"
                :scope="pbScope"
                :config="config"></publicbody-multi-chooser>
            </div>
            <div v-else>
              <div class="row">
                <div class="col-lg-7">
                  <slot name="publicbody-legend-title"></slot>
                  <slot name="publicbody-help-text"></slot>
                </div>
              </div>
              <div class="row">
                <div class="col-lg-8">
                  <publicbody-chooser
                    name="publicbody"
                    :defaultsearch="publicBodySearch"
                    :scope="pbScope"
                    :config="config"
                    :list-view="publicBodyListView"></publicbody-chooser>
                </div>
                <div class="col-lg-4 small">
                  <slot name="publicbody-missing"></slot>
                </div>
              </div>
            </div>
          </fieldset>

          <fieldset v-if="stepReviewReady" id="step-request" class="mt-3">

            <slot name="request-legend-title"></slot>

            <div v-if="multiRequest && publicBodies.length > 1" class="publicbody-summary-container">
              <div class="publicbody-summary">
                <p>
                  {{ i18n._('toMultiPublicBodies', {count: publicBodies.length}) }}
                  <span v-if="!hidePublicbodyChooser">
                    <a class="pb-change-link badge badge-pill badge-primary ml-3" href="#step-publicbody" @click="setStepPublicBody">
                      {{ i18n.change }}
                    </a>
                  </span>
                </p>
              </div>
            </div>
{'fraction_non_alphanumeric': 0.15167501978369824, 'fraction_numerical': 0.0035610656818781325, 'mean_word_length': 1.4676212170517409, 'pattern_counts': {'":': 0, '<': 171, '<?xml version=': 0, '>': 172, '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': '3218176', 'n_tokens_mistral': 2201, 'n_tokens_neox': 2077, 'n_words': 373}