From 4b643a7a9ed1063fd4312d0c0eedf5ddcb1f673b Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Thu, 12 Sep 2013 10:12:22 +0200 Subject: [PATCH] remove not needed flag in customer part --- core/lib/Thelia/Config/Resources/routing/admin.xml | 7 ++++++- templates/admin/default/customer-edit.html | 11 +++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/core/lib/Thelia/Config/Resources/routing/admin.xml b/core/lib/Thelia/Config/Resources/routing/admin.xml index 5e34aec39..6feb39185 100755 --- a/core/lib/Thelia/Config/Resources/routing/admin.xml +++ b/core/lib/Thelia/Config/Resources/routing/admin.xml @@ -37,7 +37,12 @@ Thelia\Controller\Admin\CustomerController::indexAction - + + Thelia\Controller\Admin\CustomerController::viewAction + \d+ + + + Thelia\Controller\Admin\CustomerController::viewAction \d+ diff --git a/templates/admin/default/customer-edit.html b/templates/admin/default/customer-edit.html index 216337927..48ccb3dc3 100644 --- a/templates/admin/default/customer-edit.html +++ b/templates/admin/default/customer-edit.html @@ -29,12 +29,15 @@
{form name="thelia.customer.modification"} -
+ - {* Be sure to get the customer ID, even if the form could not be validated *} - +
+
+ + +
+
- {include file="includes/inner-form-toolbar.html"} {form_hidden_fields form=$form}