mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
input image
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
{% assign limit = include.limit | default: 8 %}
|
{% assign limit = include.limit | default: 9 %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Image Check</label>
|
<label class="form-label">Image Check</label>
|
||||||
<div class="row sm-gutters">
|
<div class="row sm-gutters">
|
||||||
{% for user in site.data.users limit: limit offset: 30 %}
|
{% for photo in site.data.photos limit: limit offset: 30 %}
|
||||||
<div class="{{ include.row-class | default: 'col-4 col-sm-3' }}">
|
<div class="{{ include.row-class | default: 'col-6 col-sm-4' }}">
|
||||||
<label class="imagecheck mb-4">
|
<label class="imagecheck mb-4">
|
||||||
<input name="imagecheck" type="checkbox" value="{{ forloop.index }}" class="imagecheck-input" {% if forloop.index == 2 or forloop.index == 4 %} checked{% endif %} />
|
<input name="imagecheck" type="checkbox" value="{{ forloop.index }}" class="imagecheck-input" {% if forloop.index == 2 or forloop.index == 4 or forloop.index == 7 %} checked{% endif %} />
|
||||||
<figure class="imagecheck-figure">
|
<figure class="imagecheck-figure">
|
||||||
<img src="{{ site.base }}/{{ user.photo }}" alt="{{ user.name }} {{ user.surname }}" class="imagecheck-image">
|
<img src="{{ site.base }}/{{ photo.small }}" alt="}" class="imagecheck-image">
|
||||||
</figure>
|
</figure>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user