-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform-field-date.html
More file actions
27 lines (24 loc) · 1.16 KB
/
form-field-date.html
File metadata and controls
27 lines (24 loc) · 1.16 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
27
<!-- <pat-form-field-date> -->
<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 }}"
{% if include.validation %}data-pat-validation="{{ include.validation }}"{% endif %}
{% if include.required == true %}required="required"{% endif %}
{% if include.state == 'disabled' %}disabled{% endif %}
placeholder="{{ site.data[ui_data_path].ui[include.placeholder][site.data.config.lang] }}"
value="{{ include.value }}" />
{% 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> -->