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/public_html/tubisad/rapor/src/pages/_includes/parts/form/input-image-radio.html
{% assign limit = include.limit | default: 6 %}
{% assign offset = include.offset | default: 0 %}
<div class="mb-3">
	<label class="form-label">Image Check Radio</label>
	<div class="row g-2">
		{% assign photos = site.data.photos | where: 'horizontal', true %}

		{% for photo in photos limit: limit offset: offset %}
		<div class="{{ include.row-class | default: 'col-6 col-sm-4' }}">
			<label class="form-imagecheck mb-2">
				<input name="form-imagecheck-radio" type="radio" value="{{ forloop.index }}" class="form-imagecheck-input" {% if forloop.index == 2 or forloop.index == 4  or forloop.index == 7 %} checked{% endif %}/>
				<span class="form-imagecheck-figure">
					<img src="{{ site.base }}/static/photos/{{ photo.file }}" alt="{{ photo.title }}" class="form-imagecheck-image">
				</span>
			</label>
		</div>
		{% endfor %}
	</div>
</div>