description is not required anymore in coupon form. Fix #233
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user