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

  <label for="date" tal:content="string:${view/field_title}"></label>

  <table id="date">
    <tr>
      <td>
        <span i18n:translate="label_date_from">From</span>
      </td>
      <td>
        <tal:date tal:define="input_name string:${view/field_id}_fromdate;">
          <input type="date" tal:attributes="name input_name;"/>
        </tal:date>
      </td>
    </tr>

    <tr>
      <td>
        <span i18n:translate="label_date_to">to</span>
      </td>
      <td>
        <tal:date tal:define="input_name string:${view/field_id}_todate;">
          <input type="date"
                 tal:attributes="name input_name;"/>
        </tal:date>
      </td>
    </tr>
  </table>
</div>
