<details class="unit-Unit fqleditor-Unit" open data-query="fiche">
    <summary class="family-CRP family-Colors fqleditor-Summary action-Corpus">
        <span class="global-button-Icon"></span>
        <span class="fqleditor-SummaryTitle">
            <span class="">&lt;fiche-query&gt;</span> {{: custom.queryNumber}}
        </span>
    </summary>
    <div class="unit-Body fqleditor-Body">
        {{include tmpl="fqleditor:fichequery-editentries" /}}
    </div>
    <div class="fqleditor-AvailableEntries">
        <label class="global-button-Text" for="{{: custom.jsId}}_available_entries">
            {{> ~loc('_ link.fqleditor.addentry')}}{{colon /}}
        </label>
        <select id="{{: custom.jsId}}_available_entries">
            {{for custom.editEntries ~custom=custom}}
                <option value="{{: name}}" id="{{: ~custom.jsId}}_newcondition_{{: name}}" {{if newdisabled}}disabled{{/if}}>{{> ~loc(titleKey)}}</option>
            {{/for}}
                <option value="motcle">{{> ~loc('_ label.global.motcle')}}</option>
                <option value="fiche">{{> ~loc('_ label.global.fiche')}}</option>
        </select>
        <button id="{{: custom.jsId}}_button_addentry" class="global-button-Link action-New" type="button" title="{{> ~loc('_ link.fqleditor.addentry')}}">
            <span class="global-button-Icon"></span>
        </button>
    </div>
</details>
