base tabler
This commit is contained in:
parent
ac2cfa9fe1
commit
0f84beacf1
1432 changed files with 28760 additions and 1 deletions
17
liquid/includes/parts/form/checkboxes-list.html
Normal file
17
liquid/includes/parts/form/checkboxes-list.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{% assign items = include.items | default: "Push Notifications:1,SMS Notifications,Email Notifications:1" | split: ',' %}
|
||||
|
||||
<div class="divide-y{% if include.class %} {{ include.class }}{% endif %}">
|
||||
{% for item in items %}
|
||||
{% assign item-options = item | split: ':' %}
|
||||
<div>
|
||||
<label class="row">
|
||||
<span class="col">{{ item-options[0] }}</span>
|
||||
<span class="col-auto">
|
||||
<label class="form-check form-check-single form-switch">
|
||||
<input class="form-check-input" type="checkbox"{% if item-options[1] == '1' %} checked{% endif %}>
|
||||
</label>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue