Skip to content

Commit

Permalink
Added ibexa-embedded-item-edit class to form
Browse files Browse the repository at this point in the history
  • Loading branch information
ciastektk committed Sep 6, 2023
1 parent 5d0ce7b commit 452a6b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bundle/Templating/Twig/EmbeddedItemEditFormExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ private function createFormFactory(): FormFactory
'embedded_item_edit',
[
'action' => self::FORM_ACTION,
'attr' => [
'class' => 'ibexa-embedded-item-edit',
],
]
)
->willReturn($this->createEditForm());
Expand Down

0 comments on commit 452a6b3

Please sign in to comment.