tabler-ui
Version:
Premium and Open Source dashboard template with responsive and high quality UI. For Free!
13 lines • 457 B
HTML
<div class="form-group">
<label class="form-label">Color Input</label>
<div class="row gutters-xs">
{% for color in site.colors limit: 10 offset: 1 %}
<div class="col-auto">
<label class="colorinput">
<input name="color" type="checkbox" value="{{ color[0] }}" class="colorinput-input" {% if forloop.index== 2 %} checked{% endif %}/>
<span class="colorinput-color bg-{{ color[0] }}"></span>
</label>
</div>
{% endfor %}
</div>
</div>