Commit d5bedf87 by Yvon

add border with padding arround each dependent child zone

parent 7ff024ff
...@@ -181,7 +181,11 @@ class AdherentAdmin extends AbstractAdmin ...@@ -181,7 +181,11 @@ class AdherentAdmin extends AbstractAdmin
->with('Foyer', ['class' => 'col-md-7']) ->with('Foyer', ['class' => 'col-md-7'])
->add('dependentChildren', CollectionType::class, [ ->add('dependentChildren', CollectionType::class, [
'entry_type' => DependentChildFormType::class, 'entry_type' => DependentChildFormType::class,
'entry_options' => ['label' => true, 'data_class' => DependentChild::class], 'entry_options' => [
'label' => true,
'data_class' => DependentChild::class,
'attr' => ['class' => 'border pl-3 pr-3 pt-2']
],
'allow_add' => true, 'allow_add' => true,
'allow_delete' => true, 'allow_delete' => true,
'by_reference' => false, 'by_reference' => false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment