parent
3dc529b7cc
commit
37ccc83523
1 changed files with 0 additions and 7 deletions
|
@ -10,8 +10,6 @@ use Symfony\Component\Form\Extension\Core\Type\SubmitType;
|
|||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
use Symfony\Component\Validator\Constraints\Image;
|
||||
use Symfony\Component\Validator\Constraints\NotBlank;
|
||||
|
||||
|
||||
class OfferingFormType extends AbstractType
|
||||
{
|
||||
|
@ -24,11 +22,6 @@ class OfferingFormType extends AbstractType
|
|||
])
|
||||
->add('description', null, [
|
||||
'required' => false,
|
||||
'constraints' => [
|
||||
new NotBlank([
|
||||
'message' => 'Please enter a short description',
|
||||
]),
|
||||
]
|
||||
])
|
||||
->add('photo', FileType::class, [
|
||||
'required' => false,
|
||||
|
|
Reference in a new issue