commercetools-8.x-1.2-alpha1/modules/commercetools_content/templates/commercetools-product-attribute.html.twig
modules/commercetools_content/templates/commercetools-product-attribute.html.twig
{#
/**
* @file
*
* Default product attribute template.
*
* Available variables:
* - attributes: HTML attributes for the wrapper.
* - label: The attributes label.
* - value: The attributes value.
*
* @ingroup themeable
*/
#}
{{ attach_library('commercetools/commercetools.bootstrap_checker') }}
{%
set classes = [
'd-flex',
'justify-content-between',
'w-100',
'pt-1',
'pb-1',
]
%}
<div{{ attributes.addClass(classes) }}>
<span class="fw-medium align-self-center">{{ label }}</span><span>{{ value }}</span>
</div>
