{##
 # Checkbox template
 #}
<span class="input-field-wrapper {{ this.getWrapperClass() }}">
  {{ this.displayCommentedData(this.getCommentedData()) }}
  <input type="hidden" name="{{ this.getName() }}" value="{{ this.getDefaultHiddenValue() }}" />
  {% set caption = this.getParam('caption') %}
  {% if caption is empty %}
    <input{{ this.getAttributesCode()|raw }} />
  {% else %}
    <label>
      <input{{ this.getAttributesCode()|raw }} />
      <span class="caption">{{ caption|raw }}</span>
    </label>
  {% endif %}
</span>
