Skip to content

Commit 6860808

Browse files
authored
Merge pull request #11 from bourtitom/feature/add-translation-btn
2 parents 5fae1f5 + 7be4cca commit 6860808

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Form/Type/UiElement/ArticlesSelectionUiElementType.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
6060
'allow_add' => true,
6161
'allow_delete' => true,
6262
'delete_empty' => true,
63+
'button_add_options' => [
64+
'label' => 'sylius.ui.add',
65+
],
66+
'button_delete_options' => [
67+
'label' => 'sylius.ui.delete',
68+
'attr' => [
69+
'class' => 'btn-outline-danger',
70+
],
71+
],
6372
'attr' => [
6473
'class' => 'row row-cols-1 row-cols-sm-2',
6574
],

0 commit comments

Comments
 (0)