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

  <label for="ProfileUID" i18n:translate="">Profile</label>

  <select name="ProfileUID:ignore_empty"
          class="form-control form-control-sm"
          id="ProfileUID">
    <option value=""/>
    <tal:profiles
      tal:repeat="profile view/analysisprofiles">
      <option
        tal:define="profile_uid python:profile.getObject().UID()"
        tal:attributes="value profile_uid;
                        selected python:request.get('ProfileUID', '') == profile_uid and 'selected' or ''"
        tal:content="profile/Title">
      </option>
    </tal:profiles>
  </select>

</div>
