In an Action, errored forms are propagated via the ActionEvent

This commit is contained in:
franck
2013-07-24 20:08:00 +02:00
parent 94ee77f4f8
commit 182b13ceca
8 changed files with 40 additions and 23 deletions

View File

@@ -27,7 +27,6 @@ use Symfony\Component\Validator\ExecutionContextInterface;
use Thelia\Model\ConfigQuery;
use Thelia\Model\CustomerQuery;
class CustomerCreation extends BaseForm
{
@@ -161,6 +160,6 @@ class CustomerCreation extends BaseForm
public function getName()
{
return "customerCreation";
return "thelia.customer.creation";
}
}

View File

@@ -51,6 +51,6 @@ class CustomerLogin extends BaseForm {
public function getName()
{
return "customer_login";
return "thelia.customer.login";
}
}

View File

@@ -115,6 +115,6 @@ class CustomerModification extends BaseForm {
*/
public function getName()
{
return "customerModification";
return "thelia.customer.modification";
}
}