<input class=" selection-control-size-lg" type="checkbox">
{% set size_class = size is defined ? ' selection-control-size-' ~ size %}
{% set toggle_class = type == 'toggle' ? ' selection-control-toggle' %}
{% if title %}
<div class="selection-control{{ size_class }}{{ toggle_class }}">
<span class="selection-control-title">{{ title }}</span>
{% endif %}
{% if label or type == 'toggle' %}
<label {{ not title ? 'class="selection-control-label' ~ size_class ~ toggle_class ~ '"' }}>
{% endif %}
<input {{ checked is defined and checked ? 'checked' }} {{ checkbox_attribute }} {{ disabled is defined and disabled ? 'disabled' }} {{ not label and type != 'toggle' ? 'class="' ~ size_class ~ '"' }} type="{{ type == 'radio' ? 'radio' : 'checkbox' }}" >
{% if type == 'toggle' %}
<div class="toggle"></div>
{% endif %}
{% if label %}
<span>{{ label }}</span>
{% endif %}
{% if label or type == 'toggle' %}
</label>
{% endif %}
{% if title %}
</div>
{% endif %}
{
"size": "lg"
}
No notes defined.