HEX
Server: Apache
System: Linux srv4.garantili.com.tr 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: ekspardev (1006)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //home/ekspardev/www/tubisad/rapor/src/pages/_includes/parts/form/checkboxes-list.html
{% 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>