<div class="field" tal:attributes="style view/style|nothing" tal:define="
            periods python:['Day', 'Week', 'Month' ]"
     i18n:domain="senaite.core">

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

  <select name="Period:ignore_empty"
          class="form-control form-control-sm"
          id="Period">
    <tal:periods
      tal:repeat="period periods">
      <option
        tal:attributes="value python:period;
                        selected python:request.get('period', '') == period and 'selected' or ''"
        tal:content="period">
      </option>
    </tal:periods>
  </select>

</div>
