fiw non saving customer title

This commit is contained in:
Manuel Raynaud
2013-07-02 15:00:34 +02:00
parent 33aba6b3d5
commit 363e0ab8ae
4 changed files with 45 additions and 1 deletions

View File

@@ -85,6 +85,12 @@ class CustomerCreation extends BaseForm
),
"label" => "country"
))
->add("title", "text", array(
"constraints" => array(
new Constraints\NotBlank()
),
"label" => "title"
))
->add("email", "email", array(
"constraints" => array(
new Constraints\NotBlank(),