{# ids must be unique doc-wide #} {% set id = apos.utils.generateId() %} {% set widget = data.widget %} {% set classPrefix = data.widget.classPrefix %} {% set style = data.widget.style or "checkboxes" %} {% set checkboxLabel = module.getOption('optionLabelPosition', 'legacy') %} {% if style == 'dropdown' and checkboxLabel == 'legacy' %} {% set checkboxLabel = 'last' %} {% endif %}