<commit_before><template>
<div v-if="description">
    <div v-if="allow_reuse">
        <h4 v-html="description"></h4>

        <form novalidate v-if="step.acl_subvs || step.attrs.profilename_to_modify" class="form-horizontal">
            <my-bootstrap-form-group :name="uid" label="Choisir un utilisateur">
          <typeahead :minChars="3" :editable="false"
                    @input="withUser"
             :options="people_search"
             :formatting="e => e.givenName + ' ' + e.sn"></typeahead>
                <div v-if="profiles" style="padding-top: 1rem">
                    {{user.givenName}} {{user.sn}} a plusieurs profiles. Veuillez choisir le profile à modifier.
        </div>
            </my-bootstrap-form-group>

            <genericAttr name="profilename" :opts="profiles" v-model="profile" :submitted="false" v-if="profiles"></genericAttr>
        </form>

        <div v-else>
            <autocomplete-user class="form-control" placeholder="Rechercher une personne" @select="withUser"></autocomplete-user>
        </div>
    </div>
    <div v-else>
        <h4>
            <router-link :to="'/' + step.id" v-html="description"></router-link>
        </h4>
    </div>
    <p style="margin-bottom: 2em"></p>
</div>
</template>

<script lang="ts">
import { includes } from 'lodash';
import Vue from "vue";<commit_msg>cleanup: re-indent<commit_after><template>
<div v-if="description">
    <div v-if="allow_reuse">
        <h4 v-html="description"></h4>

        <form novalidate v-if="step.acl_subvs || step.attrs.profilename_to_modify" class="form-horizontal">
            <my-bootstrap-form-group :name="uid" label="Choisir un utilisateur">
                <typeahead :minChars="3" :editable="false"
                            @input="withUser"
                    :options="people_search"
                    :formatting="e => e.givenName + ' ' + e.sn"></typeahead>
                <div v-if="profiles" style="padding-top: 1rem">
                    {{user.givenName}} {{user.sn}} a plusieurs profiles. Veuillez choisir le profile à modifier.
        </div>
            </my-bootstrap-form-group>

            <genericAttr name="profilename" :opts="profiles" v-model="profile" :submitted="false" v-if="profiles"></genericAttr>
        </form>

        <div v-else>
            <autocomplete-user class="form-control" placeholder="Rechercher une personne" @select="withUser"></autocomplete-user>
        </div>
    </div>
    <div v-else>
        <h4>
            <router-link :to="'/' + step.id" v-html="description"></router-link>
        </h4>
    </div>
    <p style="margin-bottom: 2em"></p>
</div>
</template>

<script lang="ts">
import { includes } from 'lodash';
import Vue from "vue";
{'fraction_non_alphanumeric': 0.1710091743119266, 'fraction_numerical': 0.005137614678899082, 'mean_word_length': 2.437578814627995, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 67, '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': '3927757', 'n_tokens_mistral': 888, 'n_tokens_neox': 849, 'n_words': 166}