base tabler
This commit is contained in:
parent
ac2cfa9fe1
commit
0f84beacf1
1432 changed files with 28760 additions and 1 deletions
20
liquid/includes/parts/form/input-image-radio.html
Normal file
20
liquid/includes/parts/form/input-image-radio.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{% assign limit = include.limit | default: 6 %}
|
||||
{% assign offset = include.offset | default: 0 %}
|
||||
|
||||
{% assign filtered-photos = photos | where: 'horizontal', true %}
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Image Check Radio</label>
|
||||
<div class="row g-2">
|
||||
{% for photo in filtered-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="{{ page | relative }}/static/photos/{{ photo.file }}" alt="{{ photo.title }}" class="form-imagecheck-image">
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue