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(
'shortDescription',
'text',
array(
'constraints' => array(
new NotBlank()
)
)
'text'
)
->add(
'description',
'textarea',
array(
'constraints' => array(
new NotBlank()
)
)
'textarea'
)
->add(
'type',