diff --git a/core/lib/Thelia/Form/CategoryCreationForm.php b/core/lib/Thelia/Form/CategoryCreationForm.php index 9935eec19..a125ad090 100755 --- a/core/lib/Thelia/Form/CategoryCreationForm.php +++ b/core/lib/Thelia/Form/CategoryCreationForm.php @@ -32,6 +32,10 @@ class CategoryCreationForm extends BaseForm ->add("title", "text", array( "constraints" => array( new NotBlank() + ), + "label" => "Category title *", + "label_attr" => array( + "for" => "title" ) )) ->add("parent", "integer", array( diff --git a/templates/admin/default/categories.html b/templates/admin/default/categories.html index 49db025ae..1de7db1c2 100755 --- a/templates/admin/default/categories.html +++ b/templates/admin/default/categories.html @@ -261,7 +261,7 @@ {elseloop rel="product_list"} -
{intl l="This category doesn't have any products. To add a new product, click the + button above."}
+
{intl l="This category doesn't have any products. To add a new product, click the + button above."}
{/elseloop} @@ -288,68 +288,68 @@ {/javascripts} - + }); + {/block} \ No newline at end of file diff --git a/templates/admin/default/includes/add-category-dialog.html b/templates/admin/default/includes/add-category-dialog.html index 0e62994f7..631d0c06e 100755 --- a/templates/admin/default/includes/add-category-dialog.html +++ b/templates/admin/default/includes/add-category-dialog.html @@ -30,36 +30,35 @@