company field is not required

This commit is contained in:
Manuel Raynaud
2014-01-20 14:04:52 +01:00
parent 93e5c42b53
commit 2218b79e8d

View File

@@ -62,7 +62,8 @@ class CustomerUpdateForm extends BaseForm
"label" => Translator::getInstance()->trans("Company"), "label" => Translator::getInstance()->trans("Company"),
"label_attr" => array( "label_attr" => array(
"for" => "company" "for" => "company"
) ),
"required" => false
)) ))
->add("firstname", "text", array( ->add("firstname", "text", array(
"constraints" => array( "constraints" => array(