Replaced leftover bootstrap_4 form theme usages with BS5

This commit is contained in:
Jan Böhmer 2023-03-05 23:12:44 +01:00
parent c68b13b075
commit 27969a1f65
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% form_theme form.log_comment 'bootstrap_4_layout.html.twig' %} {% form_theme form.log_comment 'bootstrap_5_layout.html.twig' %}
{% block card_content %} {% block card_content %}
<div class="row"> <div class="row">

View file

@ -1,5 +1,5 @@
{# Leave this template at bootstrap 4 for now, as it otherwise destroys our layout #} {# Leave this template at bootstrap 4 for now, as it otherwise destroys our layout #}
{% form_theme form.orderdetails with ['parts/edit/edit_form_styles.html.twig', "bootstrap_4_layout.html.twig"] %} {% form_theme form.orderdetails with ['parts/edit/edit_form_styles.html.twig', "bootstrap_5_layout.html.twig"] %}
{% import 'components/collection_type.macro.html.twig' as collection %} {% import 'components/collection_type.macro.html.twig' as collection %}
<div {{ collection.controller(form.orderdetails, 'orderdetails.edit.delete.confirm') }}> <div {{ collection.controller(form.orderdetails, 'orderdetails.edit.delete.confirm') }}>