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 5, 2023
1 parent 5548876 commit deabd81
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 @@ -87,6 +87,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 deabd81

Please sign in to comment.