{# templates/form/file_gallery_theme_bs5.html.twig #} {# Form theme per FileGalleryType - Versione Bootstrap 5 Per usarlo, aggiungi in twig.yaml: twig: form_themes: - 'bootstrap_5_layout.html.twig' - 'form/file_gallery_theme_bs5.html.twig' #} {% use "bootstrap_5_layout.html.twig" %} {% block file_gallery_row %}
{{ form_label(form) }} {{ form_widget(form) }} {{ form_errors(form) }}
{% endblock %} {% block file_gallery_label %} {% endblock %} {% block file_gallery_widget %} {% apply spaceless %} {% endapply %} {% endblock %}