From 1fc1482ac403c7718e27dbd1a27a5482a752fb91 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Tue, 25 Jun 2013 11:43:07 +0200 Subject: [PATCH] change label in form test --- core/lib/Thelia/Form/CustomerCreation.php | 2 +- templates/smarty-sample/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Thelia/Form/CustomerCreation.php b/core/lib/Thelia/Form/CustomerCreation.php index 98e3dd0eb..120be2f41 100644 --- a/core/lib/Thelia/Form/CustomerCreation.php +++ b/core/lib/Thelia/Form/CustomerCreation.php @@ -36,7 +36,7 @@ class CustomerCreation extends AbstractType "attr" => array( "class" => "field" ), - "label" => "toto" + "label" => "email" ) ) ->add('age', 'integer'); diff --git a/templates/smarty-sample/index.html b/templates/smarty-sample/index.html index 1aaa0b9e6..2332aa5ff 100755 --- a/templates/smarty-sample/index.html +++ b/templates/smarty-sample/index.html @@ -12,7 +12,7 @@ An image from asset directory : {form_field_hidden form=$form} {form_field form=$form.email} - {intl l='{$label}'} : + {intl l="{$label}"} : {/form_field} {form_field form=$form.name}