{% extends 'common/layout.html.twig' %} {% block content %} <div class='container groupeshow mt-2'> <div class="my-2 p-3 bg-white rounded box-shadow"> <div class="contentcomptoir p-4 mt-2"> <div class="card mb-2"> <div class="card-header"><h1>{{comptoir.name}}</h1></div> <div class="card-body"> {% if comptoir.groupe != null %} <h4 class="card-subtitle mb-3">{{ 'Groupe local'|trans }} : <a href='{{ path('show_groupe', {'slug': comptoir.groupe.slug}) }}'>{{comptoir.groupe.__toString()}}</a></h4> {% endif %} {% if comptoir.tel != null %} <h5 class="card-subtitle mb-3">{{ 'Téléphone'|trans }} : {{comptoir.tel}}</h5> {% endif %} {% if comptoir.email != null %} <h6 class="card-subtitle mb-3">{{ 'Email'|trans }} : {{ comptoir.email|safe_email|raw }}</h6> {% endif %} {% if comptoir.getFullAddresse() != null %} <h6 class="card-title text-muted mb-3">{{comptoir.getFullAddresse()}}</h6> {% endif %} <div class="card-text"> {{comptoir.content|raw}} </div> </div> <div class="card-header"><h2>{{ comptoir.groupe.prestataires|length }} {{ 'prestataires'|trans }} :</h2></div> <ul class="list-group list-group-flush"> {% for presta in comptoir.groupe.prestataires %} <li class="list-group-item"> <a href='{{ path('show_prestataire', {'slug': presta.slug}) }}'>{{presta.raison}}</a> </li> {% endfor %} </ul> </div> </div> </div> </div> {% endblock %}