-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform-field-date-legacy.html
More file actions
26 lines (23 loc) · 1.06 KB
/
form-field-date-legacy.html
File metadata and controls
26 lines (23 loc) · 1.06 KB
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
<!-- <pat-form-field-date-legacy> -->
<label
{% include patterns/form-field-auto-save-attributes %}
class="
{% include patterns/form-field-auto-save-classes %}
{% if include.depends %}pat-depends{% endif %}"
{% if include.depends %}data-pat-depends="{{ include.depends }}; transition: slide"{% endif %}>
{% include patterns/form-field-label-conditional.html %}
<input
name="{{ include.name }}"
type="date"
size="{{ include.chars }}"
placeholder="{{ site.data[ui_data_path].ui[include.placeholder][site.data.config.lang] }}"
class="pat-date-picker"
value="{{ include.value }}"
data-pat-date-picker="output-format: D MMMM YYYY; locale: {{ site.lang }}" />
{% if include.help %}
{% include patterns/form-help.html
content=include.help more=include.help_more %}
{% endif %}
{% include patterns/form-has-changes.html %}
</label>
<!-- </pat-form-field-date-legacy> -->