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

  <label for="output_format" i18n:translate="">Output format</label>

  <select name="output_format:ignore_empty"
          class="form-control form-control-sm"
          id="output_format">
    <option
      tal:attributes="selected python:request.get('output_format', '') == 'PDF' and 'selected' or ''"
      tal:content="string:PDF">
    </option>
    <option
      tal:attributes="selected python:request.get('output_format', '') == 'CSV' and 'selected' or ''"
      tal:content="string:CSV">
    </option>
  </select>

</div>
