<!--
  Copyright IBM Corp. 2016, 2018

  This source code is licensed under the Apache-2.0 license found in the
  LICENSE file in the root directory of this source tree.
-->

<!-- Ranged -->
<div class="{{@root.prefix}}--form-item">
  <div data-date-picker data-date-picker-type="range"
    class="{{@root.prefix}}--date-picker {{@root.prefix}}--date-picker--range {{@root.prefix}}--date-picker--light">
    <div class="{{@root.prefix}}--date-picker-container">
      <label for="date-picker-1" class="{{@root.prefix}}--label">Start date label</label>
      <div class="{{@root.prefix}}--date-picker-input__wrapper">
        <input type="text" id="date-picker-1" class="{{@root.prefix}}--date-picker__input"
          pattern="\d{1,2}/\d{1,2}/\d{4}" placeholder="mm/dd/yyyy" data-date-picker-input-from />
        {{ carbon-icon 'Calendar16' class=(add @root.prefix '--date-picker__icon') data-date-picker-icon="true" }}
      </div>
    </div>
    <div class="{{@root.prefix}}--date-picker-container">
      <label for="date-picker-2" class="{{@root.prefix}}--label">End date label</label>
      <div class="{{@root.prefix}}--date-picker-input__wrapper">
        <input type="text" id="date-picker-2" class="{{@root.prefix}}--date-picker__input"
          pattern="\d{1,2}/\d{1,2}/\d{4}" placeholder="mm/dd/yyyy" data-date-picker-input-to />
        {{ carbon-icon 'Calendar16' class=(add @root.prefix '--date-picker__icon') data-date-picker-icon="true" }}
      </div>
    </div>
  </div>
</div>
