use collapsible element instead of collapsible card (#4096)

This commit is contained in:
Kevin Papst
2023-06-09 18:17:32 +02:00
committed by GitHub
parent 2e2bf986a4
commit 053a1d9017
6 changed files with 52 additions and 62 deletions

View File

@@ -73,11 +73,10 @@
{% if form.metaFields is defined and form.metaFields is not empty %}
{{ form_row(form.metaFields) }}
{% endif %}
{% embed '@theme/embeds/card.html.twig' with {collapsed: true} %}
{% embed '@theme/embeds/collapsible.html.twig' with {id: 'project_invoice_settings'} %}
{% import "macros/widgets.html.twig" as widgets %}
{% block box_title %}{{ 'invoices'|trans }}{% endblock %}
{% block box_body_class %}{% endblock %}
{% block box_body %}
{% block title %}{{ 'invoices'|trans }}{% endblock %}
{% block body %}
{% if form.invoiceText is defined %}
{{ form_row(form.invoiceText) }}
{% endif %}