1
- < fieldset
2
- {% include patterns /form-field-auto-save-attributes %}
3
- class="
4
- pat-checklist
5
- {{ include.class }}
6
- {% include patterns/form-field-auto-save-classes %}
7
- {% if include.depends %}pat-depends{% endif %} "
8
- {% if include.depends %}data-pat-depends ="{{ include.depends }}; transition: slide "{% endif %} >
9
- < legend >
10
- {% include patterns/form-field-label-conditional.html %}
11
- </ legend >
12
- < div
13
- class ="pat-checklist ">
14
- {% for sub in item.items %}
15
- < label >
16
- {% include patterns/i18n id=sub.label %}
17
- < input
18
- {% if include.variation == 'radio ' %}
19
- {% if sub.value %}
20
- value ="{{ sub.value }} "
21
- {% else %}
22
- value ="{{ sub.label | remove: 'label_' | slugify }} "
1
+ <!-- <pat-form-field-checklist> -->
2
+ < fieldset
3
+ {% include patterns /form-field-auto-save-attributes %}
4
+ class="
5
+ pat-checklist
6
+ {{ include.class }}
7
+ {% include patterns/form-field-auto-save-classes %}
8
+ {% if include.depends %}pat-depends{% endif %} "
9
+ {% if include.depends %}data-pat-depends ="{{ include.depends }}; transition: slide "{% endif %} >
10
+ < legend >
11
+ {% include patterns/form-field-label-conditional.html %}
12
+ </ legend >
13
+ < div
14
+ class ="pat-checklist ">
15
+ {% for sub in item.items %}
16
+ < label >
17
+ {% include patterns/i18n id=sub.label %}
18
+ < input
19
+ {% if include.variation == 'radio ' %}
20
+ {% if sub.value %}
21
+ value ="{{ sub.value }} "
22
+ {% else %}
23
+ value ="{{ sub.label | remove: 'label_' | slugify }} "
24
+ {% endif %}
23
25
{% endif %}
24
- {% endif %}
25
- {% if sub.selected == ' selected ' %}
26
- checked
27
- {% endif %}
28
- {% if sub.disabled %}
29
- disabled
30
- {% endif %}
31
- name ="
32
- {%- if include.variation == 'radio' -% }
33
- {{ include.label | slugify | default: 'some_name_for_the_radios' } }
34
- {%- else -% }
35
- {{ sub.label | remove: 'label_' | slugify }}
36
- {%- endif -%} "
37
- type =" {{ include.variation | default: 'checkbox' }} " >
38
- </ label >
39
- {% endfor %}
40
- </ div >
41
- </ fieldset >
26
+ {% if sub.selected == ' selected ' %}
27
+ checked
28
+ {% endif %}
29
+ {% if sub.disabled %}
30
+ disabled
31
+ {% endif %}
32
+ name ="
33
+ {%- if include.variation == 'radio' -%}
34
+ {{ include.label | slugify | default: 'some_name_for_the_radios' } }
35
+ {%- else -% }
36
+ {{ sub.label | remove: 'label_' | slugify } }
37
+ {%- endif -%} "
38
+ type =" {{ include.variation | default: 'checkbox' }} " >
39
+ </ label >
40
+ {% endfor %}
41
+ </ div >
42
+ </ fieldset >
43
+ <!-- </pat-form-field-checklist> -- >
0 commit comments