* updated installation docu #113 * rewritten login page #113 * added icheck plugin #113 * changed to YesNoType in edit forms #113 * updated CONTRIBUTING.md #113 * added start of developer docu #113 * added compile scripts and compiled assets #113
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
|
||||
namespace App\Form;
|
||||
|
||||
use App\Form\Type\VisibilityType;
|
||||
use App\Entity\Customer;
|
||||
use App\Form\Type\YesNoType;
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\CountryType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\CurrencyType;
|
||||
@@ -23,7 +24,6 @@ use Symfony\Component\Form\Extension\Core\Type\TimezoneType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\UrlType;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
use App\Entity\Customer;
|
||||
|
||||
/**
|
||||
* Defines the form used to edit Customer entities.
|
||||
@@ -50,7 +50,7 @@ class CustomerEditForm extends AbstractType
|
||||
'label' => 'label.comment',
|
||||
'required' => false,
|
||||
])
|
||||
->add('visible', VisibilityType::class, [
|
||||
->add('visible', YesNoType::class, [
|
||||
'label' => 'label.visible',
|
||||
])
|
||||
->add('company', TextType::class, [
|
||||
|
||||
Reference in New Issue
Block a user