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 *} - + + + {intl l='Save'} + {intl l='Save and close'} + + - {include file="includes/inner-form-toolbar.html"} {form_hidden_fields form=$form}