From d81cc02eca714a8b476e97d29dce1a420a203032 Mon Sep 17 00:00:00 2001 From: Tomasz Kryszan Date: Tue, 5 Sep 2023 13:03:29 +0200 Subject: [PATCH] Added ibexa-embedded-item-edit class to form --- src/bundle/Templating/Twig/EmbeddedItemEditFormExtension.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bundle/Templating/Twig/EmbeddedItemEditFormExtension.php b/src/bundle/Templating/Twig/EmbeddedItemEditFormExtension.php index 2ea759d786..4e00a8aa89 100644 --- a/src/bundle/Templating/Twig/EmbeddedItemEditFormExtension.php +++ b/src/bundle/Templating/Twig/EmbeddedItemEditFormExtension.php @@ -46,6 +46,9 @@ public function renderEmbeddedItemEditForm(): FormView 'embedded_item_edit', [ 'action' => $this->router->generate('ibexa.content.edit'), + 'attr' => [ + 'class' => 'ibexa-embedded-item-edit', + ], ] )->createView(); }