vendor/store.shopware.com/moorlformbuilder/src/Resources/views/plugin/moorl-form-builder/component/form-element/checkbox.html.twig line 1

Open in your IDE?
  1. <div class="form-group form-{{ formElement.type }}-{{ formElement.name }}">
  2.     <div class="custom-control custom-checkbox">
  3.         <input type="checkbox"
  4.                class="custom-control-input"
  5.                id="{{ formElementId }}"
  6.                name="{{ formElementName }}"
  7.                value="1"
  8.                {% if formElementValue %}checked{% endif %}
  9.             {% if formElement.required %}required{% endif %}>
  10.         <label class="custom-control-label" for="{{ formElementId }}">
  11.             {{ formElementLabel }}
  12.             {% if formElement.required %}*{% endif %}
  13.             {% if formElementTooltip %}
  14.                 <span class="form-tooltip" data-toggle="tooltip" data-placement="top" title="{{ formElementTooltip }}">?</span>
  15.             {% endif %}
  16.         </label>
  17.     </div>
  18. </div>