nineskeletor/templates/Pagewidgetslide/list.html.twig

19 lines
854 B
Twig
Raw Normal View History

2023-02-01 09:03:27 +01:00
{% extends 'base.html.twig' %}
{% block body %}
<h1 class="page-header">Gestion des Carrousels</h1>
<p>
<a class="btn btn-success" href={{ path('app_'~access~'_pagewidgetslide_submit',{idwidget:pagewidget.id,usage:usage}) }}>Ajouter</a>
<a class="btn btn-secondary" href="{{ path('app_'~access~'_page_'~usage~'_view',{id:pagewidget.page.id}) }}">Retour</a>
</p>
{% for pagewidgetslide in pagewidgetslides %}
<a href="{{ path('app_'~access~'_pagewidgetslide_update', {idwidget:pagewidget.id,id:pagewidgetslide.id,usage:usage}) }}">
<img id="icon_label_img" src="{{ path("app_minio_image",{file:pagewidgetslide.image}) }}" style="padding:5px; width:300px;height:auto;margin:auto;display:block;margin-bottom:5px;background-color: var(--colorbgbodydark)">
</a>
{% endfor %}
{% endblock %}