-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform-field-date-time-legacy.html
30 lines (30 loc) · 1.13 KB
/
form-field-date-time-legacy.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<fieldset
{% include patterns/form-field-auto-save-attributes %}
class="
{% include patterns/form-field-auto-save-classes %}
group
date-time">
<legend>{% include patterns/form-field-label-conditional.html %}</legend>
<div
class="field-cluster layout-date-time">
<label>
{% include patterns/i18n id="patterns.label_date" %}
<input
type="date"
value="{{ include.date }}"
size="10"
class="date pat-date-picker"
name="start-day"
placeholder="Date"
id="start-day"
data-pat-date-picker="output-format: D MMM YYYY; locale: {{ site.lang }}"
data-pat-validation="not-after: #end-day; message-date: This date must be on or before the end date."
/>
</label>
<label>
{% include patterns/i18n id="patterns.label_time" %}
<input
type="time">
</label>
</div>
</fieldset>