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

  <label for="" tal:content="view/field_title">Status</label>

  <select class="form-control form-control-sm"
          tal:attributes="id view/field_id;
                          name string:${view/field_id}:ignore_empty">
    <option value=""/>
    <tal:states tal:repeat="state view/states">
      <option value=""
              tal:attributes="value state/id;
                              selected python:request.get(view.field_id, '') == state['id'] and 'selected' or ''"
              tal:content="state/title">
      </option>
    </tal:states>
  </select>

</div>
