templates/eshopRequest.html.twig line 1

Open in your IDE?
  1. {% if wireFrame.wireFrameFile is defined and wireFrame.wireFrameFile != null %}
  2.   {% set wireFrameFile = wireFrame.wireFrameFile  %}
  3. {% else %}
  4.   {% set wireFrameFile = 'eshopLayoutBasic.html.twig' %}
  5. {% endif %}
  6. {% extends wireFrameFile %}
  7. {% block title %}{{ 'eshop.request'|trans|raw }}{% endblock %}
  8. {% block page_contents %}
  9. <h1>{{ 'eshop.request'|trans }}</h1>
  10.   {% if product is defined %}
  11.     <!-- product detail -->
  12.     <div class="productDetail">
  13.       <a href="{{ path('root') }}eshop/{{ eshop.eshopId }}/product/{{ product.productId }}" class="productDetailLink">{{ 'product.detail'|trans }}</a>
  14.     </div>  
  15.   {% endif %}
  16.   {{ form_start(form) }}
  17.   {% if reCaptcha is defined and reCaptcha.isActive %}
  18.     <div class="g-recaptcha" data-sitekey="{{ reCaptcha.siteKey }}"></div>
  19.   {% endif %}
  20.   {{ form_widget(form) }}
  21.   {{ form_end(form) }}
  22. <br>
  23. {% endblock %}