templates/bundles/SyliusShopBundle/Product/Show/Tabs/rfq.html.twig line 1

Open in your IDE?
  1. {% if product.mainTaxon.code|default != 'services' and vendor_can_rfq(product) == true %}
  2.     <div class="ui top attached large tabular menu product-tabs">
  3.         <a class="item active" data-tab="rfq">{{ 'app.ui.product.tabs.rfq'|trans }}</a>
  4.     </div>
  5.     <div class="ui bottom attached tab segment product-tabs active" data-tab="rfq">
  6.         {% if preview %}
  7.             {{ render(url('app_common_rfq_preview_create', {'template': '@SyliusShop/Product/Show/_rfq.html.twig'})) }}
  8.         {% else %}
  9.             {{ render(url('app_common_rfq_create', {'template': '@SyliusShop/Product/Show/_rfq.html.twig', 'productId': product.id, 'slug': product.slug})) }}
  10.         {% endif %}
  11.     </div>
  12. {% endif %}