templates/components/insuranceOffers/insuranceOfferContractCard.html.twig line 1

Open in your IDE?
  1. {% trans_default_domain "MaritimeCategory" %}
  2. <div class="insurance-offer-contract-card{% if alternate is defined and alternate %} alternate{% endif %}">
  3.     <div class="block first-block">
  4.         <div class="tag">
  5.             {{ offer.name }}
  6.         </div>
  7.         <h3 class="title">
  8.             {{ offer.title }}
  9.         </h3>
  10.         {% include "components/notation.html.twig" with {rating: offer.rating} %}
  11.         <p class="description">
  12.             {{ offer.resume }}
  13.         </p>
  14.     </div>
  15.     <div class="block second-block">
  16.         <ul>
  17.             {% for guarantee in offer.guarantees  %}
  18.             <li{% if not guarantee.included %} class="not-included"{% endif %}>
  19.                 {{ guarantee.text }}
  20.             </li>
  21.             {% endfor %}
  22.         </ul>
  23.     </div>
  24.     <div class="block third-block">
  25.         <p class="third-block-title">{{ 'insurance_offer.options.title'|trans }}</p>
  26.         <ul>
  27.             {% for option in offer.options %}
  28.             <li>
  29.                 {{ option }}
  30.             </li>
  31.             {% endfor %}
  32.         </ul>
  33.         <p class="third-block-title">{{ 'insurance_offer.services.title'|trans }}</p>
  34.         <ul>
  35.             {% for service in offer.services %}
  36.                 <li>
  37.                     {{ service }}
  38.                 </li>
  39.             {% endfor %}
  40.         </ul>
  41.     </div>
  42.     <a href="{{ path('app_devis_index') }}" class="button{% if alternate is defined and alternate %} button-alternate-3{% endif %}">{{ 'insurance_offer.devis.button'|trans }}</a>
  43. </div>