templates/sales_agreement/block/order.html.twig line 1

Open in your IDE?
  1. {% extends 'includes/block/block.html.twig' %}
  2. {% block blockStyle %}
  3.     {{ encore_entry_link_tags('orderStyle') }}
  4. {% endblock %}
  5. {% set id = '0' %}
  6. {% set title = label %}
  7. {% set block = 'order' %}
  8. {% set submit = orderForm.submit is defined %}
  9. {% block body %}
  10.     {% if submit %}
  11.         {{ form_start(orderForm) }}
  12.     {% endif %}
  13.     <div class="packages">
  14.         {% for package in orderForm.package %}
  15.             <div class="package box {% if package.vars.value == selectedPack %} checked {% endif %}"
  16.                  id="package-{{ package.vars.value }}">
  17.                 <div class="content content-package">
  18.                     <div class="text-center m-2 mt-0">
  19.                     <div class="icon"><img alt="package"/></div>
  20.                     <div class="name"></div>
  21.                     <div class="price"></div>
  22.                         {{ form_widget(package) }}
  23.                     </div>
  24.                     <div class="options"></div>
  25.                 </div>
  26.             </div>
  27.         {% endfor %}
  28.     </div>
  29.     {% if orderError is defined and orderError is not empty%}
  30.         <div class="empty">
  31.             {{ orderError.message }}
  32.         </div>
  33.     {% endif %}
  34.     {% if submit %}
  35.         {{ include('includes/form/inputs/submit.html.twig', {'input': orderForm.submit}) }}
  36.         {{ form_end(orderForm) }}
  37.     {% endif %}
  38. {% endblock %}
  39. {% block javascript %}
  40. {{ encore_entry_script_tags('order') }}
  41. {% endblock %}