templates/company/show.html.twig line 1

Open in your IDE?
  1. {% extends 'layout/layout-wide.html.twig' %}
  2. {% block content %}
  3.     {% include 'include/_title.html.twig' with {title: ('Les instruments de la marque ' ~ company.name)|trans } %}
  4.     <div class="p-5">
  5.         <div class="container">
  6.             <h1 class="text-center visually-hidden">{{ company.name }}</h1>
  7.             <img class="img-fluid mx-auto d-block mb-5"
  8.                  src="{{ vich_uploader_asset(company, 'imageFile') }}"
  9.                  alt="{{ ('logo de la marque ' ~ company.name)|trans }}" style="max-width: 250px">
  10.             <div class="row">
  11.                 <div class="col-lg-6 offset-lg-3">
  12.                     {{ company.description|purify }}
  13.                 </div>
  14.             </div>
  15.         </div>
  16.     </div>
  17.     <section class="container mt-5">
  18.         {% include 'instrument/_instruments-list.html.twig' with {instruments: company.instruments} %}
  19.     </section>
  20. {% endblock %}