-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform-field-search.html
More file actions
26 lines (23 loc) · 955 Bytes
/
form-field-search.html
File metadata and controls
26 lines (23 loc) · 955 Bytes
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-search> -->
<label
{% include patterns/form-field-auto-save-attributes %}
class="
{% include patterns/form-field-auto-save-classes %}
{% if item.depends %}pat-depends{% endif %}"
{% if item.depends %}data-pat-depends="{{ item.depends }}; transition: slide"{% endif %}>
{{ site.data[ui_data_path].ui[item.label][site.data.config.lang] }}
<input
name="{{ item.name }}"
type="search"
size="{{ item.chars }}"
placeholder="{% include patterns/i18n sentinel=false id=item.placeholder %}"
value="{{ item.value }}"
class="
{% if item.autofocus %}pat-autofocus{% endif %}
" />
</label>
{% if item.help %}
{% include patterns/form-help.html
content=item.help more=item.help_more %}
{% endif %}
<!-- </pat-form-field-search> -->