<div class="field" i18n:domain="senaite.core" tal:attributes="style view/style|nothing">

    <label i18n:translate="">Analysis service</label>
    <br/>

    <select name="ServiceUID:ignore_empty"
            size="7"
            id="ServiceUID"
            tal:attributes="
            size python:view.multiselect and '7' or '1';
            style string:font-family:${here/base_properties/fontFamily};;font-size:100%;
            multiple view/multiselect">

        <option tal:condition="python:view.allow_blank and not view.multiselect"
                value=""/>

        <tal:services  tal:repeat="service view/analysisservices">

            <option value=""
                    tal:define="service_uid python:service.UID"
                    tal:attributes="
                            value service_uid;
                            selected python:request.get('ServiceUID', '') == service_uid and 'selected' or ''"
                    tal:content="service/Title">
            </option>

        </tal:services>

    </select>
</div>
