templates/home/_tombola.html.twig line 1
<div class="col-lg-4 col-md-6 col-sm-12 d-flex"><div class="card shadow-sm w-100 h-100"><!-- En-tête --><div class="card-header text-center bg-dark text-white"><h3 class="mb-0">{{ tombola.titre }}</h3></div><!-- Corps --><div class="card-body"><ul class="list-group list-group-flush"><!-- Prix pilote --><li class="list-group-item d-flex justify-content-between align-items-center"><strong>Prix / ticket</strong><span>{{ tombola.prix }} €</span></li><li class="list-group-item d-flex justify-content-between align-items-center">{{ tombola.description }}</li><li class="list-group-item">Il ne reste que <strong>{{ tombola.ticketRestant }}</strong> tickets !<br>Vous avez jusqu'au <strong>{{ tombola.dateheureVenteFin|date("d/m/Y H:i") }}</strong> pour participer.</li></ul></div><!-- Footer / Bouton --><div class="card-footer text-center bg-light">{# {% if forfait.edition.registerStart|date('U') < 'now'|date('U') and forfait.edition.registerEnd|date('U') > 'now'|date('U') %}#}{# <a href="{{ path('app_reservation_new', {'forfait': forfait.id }) }}"#}{# class="btn btn-warning fw-bold text-dark">#}{# Réserver#}{# </a>#}{# {% elseif forfait.edition.registerStart|date('U') > 'now'|date('U') %}#}{# <p class="text-primary small">#}{# <i class="fa-solid fa-circle-exclamation me-2"></i>#}{# Inscriptions le {{ forfait.edition.registerStart|date("d/m/Y") }}#}{# </p>#}{# {% else %}#}{# <p class="text-danger small">#}{# <i class="fa-solid fa-circle-exclamation me-2"></i>#}{# Inscriptions terminées#}{# </p>#}{# {% endif %}#}{# #}<a href="{{ path('app_tombola_front_commande', {'tombola': tombola.ulid }) }}"class="btn btn-primary fw-bold text-white">Participer</a></div></div></div>