custom/plugins/SwagCustomizedProducts/src/Resources/views/storefront/component/customized-products/_include/title.html.twig line 1

Open in your IDE?
  1. {% block swag_customized_products_option_type_template_label %}
  2.     <div class="card-title swag-customized-products__title-link-container">
  3.         <a href="#collapseCustomizedProductsConfigurationOption-{{ option.id }}"
  4.            class="swag-customized-products__title-link"
  5.            role="button"
  6.            data-toggle="collapse"
  7.            aria-controls="collapseCustomizedProductsConfigurationOption-{{ option.id }}"
  8.            aria-expanded="{{ option.required ? 'true' : 'false' }}">
  9.             <div class="container">
  10.                 {% block swag_customized_products_option_type_template_label_container %}
  11.                     <div class="swag-customized-products__link-container row">
  12.                         {% block swag_customized_products_option_type_template_label_content %}
  13.                             <div class="swag-customized-products__link col-10 p-0">
  14.                                 {% block swag_customized_products_option_type_template_label_content_text %}
  15.                                     <label class="form-label swag-customized-products-option__title">
  16.                                         {{ option.translated.displayName }}
  17.                                         {% sw_include '@SwagCustomizedProducts/storefront/component/customized-products/_include/price-label.html.twig' with {
  18.                                             value: option,
  19.                                             brackets: true
  20.                                         } %}
  21.                                     </label>
  22.                                 {% endblock %}
  23.                                 {% if option.required %}
  24.                                     {% block swag_customized_products_option_type_template_label_content_required_addition %}
  25.                                         <span class="swag-customized-products-option--required">
  26.                                             {{ 'customizedProducts.optionRequired'|trans }}
  27.                                         </span>
  28.                                     {% endblock %}
  29.                                 {% endif %}
  30.                             </div>
  31.                         {% endblock %}
  32.                         {% block swag_customized_products_option_type_template_label_toggle_icon %}
  33.                             <div class="swag-customized-products__title-link-toggle-icon col-2 p-0">
  34.                                 {% block swag_customized_products_option_type_template_label_toggle_icon_plus %}
  35.                                     <div class="toggle-icon-plus">
  36.                                         {% sw_icon 'plus' style { 'size': 'xs' } %}
  37.                                     </div>
  38.                                 {% endblock %}
  39.                                 {% block swag_customized_products_option_type_template_label_toggle_icon_minus %}
  40.                                     <div class="toggle-icon-minus">
  41.                                         {% sw_icon 'minus' style { 'size': 'xs' } %}
  42.                                     </div>
  43.                                 {% endblock %}
  44.                             </div>
  45.                         {% endblock %}
  46.                     </div>
  47.                 {% endblock %}
  48.             </div>
  49.         </a>
  50.     </div>
  51. {% endblock %}