toggleable.html.twig 368 B

123456789
  1. <span class="checkboxes toggleable" data-grav-field="toggleable" data-grav-field-name="{{ field_name }}">
  2. <input type="checkbox"
  3. id="toggleable_{{ field.name }}"
  4. name="toggleable_{{ field_name }}"
  5. value="1"
  6. {% if checked %}checked="checked"{% endif %}
  7. >
  8. <label for="toggleable_{{ field.name }}"></label>
  9. </span>