{% if product.mainTaxon.code|default != 'services' and vendor_can_rfq(product) == true %}
<div class="ui top attached large tabular menu product-tabs">
<a class="item active" data-tab="rfq">{{ 'app.ui.product.tabs.rfq'|trans }}</a>
</div>
<div class="ui bottom attached tab segment product-tabs active" data-tab="rfq">
{% if preview %}
{{ render(url('app_common_rfq_preview_create', {'template': '@SyliusShop/Product/Show/_rfq.html.twig'})) }}
{% else %}
{{ render(url('app_common_rfq_create', {'template': '@SyliusShop/Product/Show/_rfq.html.twig', 'productId': product.id, 'slug': product.slug})) }}
{% endif %}
</div>
{% endif %}