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

  <label for="User" i18n:translate="">User</label>

  <select name="User"
          id="User"
          class="form-control form-control-sm">
    <tal:analysts tal:repeat="user users">
      <option
        value=""
        tal:attributes="
               value python:user;
               selected python:request.get('User', '') == user and 'selected' or ''"
        tal:content="python:users.getValue(user)">
      </option>
    </tal:analysts>
  </select>

</div>
