{# @var craft \craft\web\twig\variables\CraftVariable #} {# @var entry \craft\elements\Entry #} {# Description of what this file is for @package craft3 @author David Hellmann [david@hellmann.io] a-checkbox ------------------------------------------------------------ #} {# -- Set Defaults -- #} {% set defaults = { cn: 'a-checkbox', modifiers: [], customClasses: [], data: {}, js: null, waypoint: null, waypointAni: null, name: null, disabled: null, checked: null, label: null, id: null, value: null } %} {# -- Merge Default with Options -- #} {% set opt = opt is defined ? defaults|merge(opt) : defaults %} {# -- Modul -- #} {% if opt.name %}
{% endif %}