description is not required anymore in coupon form. Fix #233

This commit is contained in:
Manuel Raynaud
2014-02-20 16:35:29 +01:00
parent 3ab022e99d
commit ab79c4c6c6

View File

@@ -65,21 +65,13 @@ class CouponCreationForm extends BaseForm
) )
->add( ->add(
'shortDescription', 'shortDescription',
'text', 'text'
array(
'constraints' => array(
new NotBlank()
)
)
) )
->add( ->add(
'description', 'description',
'textarea', 'textarea'
array(
'constraints' => array(
new NotBlank()
)
)
) )
->add( ->add(
'type', 'type',