1 |
|
2 | Copyright IBM Corp. 2016, 2018
|
3 |
|
4 | This source code is licensed under the Apache-2.0 license found in the
|
5 | LICENSE file in the root directory of this source tree.
|
6 | -->
|
7 |
|
8 |
|
9 | <div class="{{@root.prefix}}--form-item">
|
10 | <div data-date-picker data-date-picker-type="range"
|
11 | class="{{@root.prefix}}--date-picker {{@root.prefix}}--date-picker--range">
|
12 | <div class="{{@root.prefix}}--date-picker-container">
|
13 | <label for="date-picker-1" class="{{@root.prefix}}--label">Start date label</label>
|
14 | <div class="{{@root.prefix}}--date-picker-input__wrapper">
|
15 | <input type="text" id="date-picker-1" class="{{@root.prefix}}--date-picker__input"
|
16 | pattern="\d{1,2}/\d{1,2}/\d{4}" placeholder="mm/dd/yyyy" data-date-picker-input-from />
|
17 | {{ carbon-icon 'Calendar16' class=(add @root.prefix '--date-picker__icon') data-date-picker-icon="true" }}
|
18 | </div>
|
19 | </div>
|
20 | <div class="{{@root.prefix}}--date-picker-container">
|
21 | <label for="date-picker-2" class="{{@root.prefix}}--label">End date label</label>
|
22 | <div class="{{@root.prefix}}--date-picker-input__wrapper">
|
23 | <input type="text" id="date-picker-2" class="{{@root.prefix}}--date-picker__input"
|
24 | pattern="\d{1,2}/\d{1,2}/\d{4}" placeholder="mm/dd/yyyy" data-date-picker-input-to />
|
25 | {{ carbon-icon 'Calendar16' class=(add @root.prefix '--date-picker__icon') data-date-picker-icon="true" }}
|
26 | </div>
|
27 | </div>
|
28 | </div>
|
29 | </div>
|
30 |
|
\ | No newline at end of file |