diff --git a/src/Form/ClientsType.php b/src/Form/ClientsType.php index bdcd973..cd01f5a 100644 --- a/src/Form/ClientsType.php +++ b/src/Form/ClientsType.php @@ -19,12 +19,12 @@ class ClientsType extends AbstractType ->add('Nom') ->add('Email') ->add('Telephone') - ->add('table', EntityType::class, [ + ->add('Tables', EntityType::class, [ 'class' => Tables::class, 'choice_label' => 'id', 'multiple' => true, ]) - ->add('commandes', EntityType::class, [ + ->add('Commandes', EntityType::class, [ 'class' => Commandes::class, 'choice_label' => 'id', 'multiple' => true, diff --git a/templates/clients/new.html.twig b/templates/clients/new.html.twig index 598c5dd..528365d 100644 --- a/templates/clients/new.html.twig +++ b/templates/clients/new.html.twig @@ -1,8 +1,10 @@ {% extends 'base.html.twig' %} {% block title %}New Clients{% endblock %} +{% block stylesheets %} + - +{% endblock %} {% block body %}

Create new Clients