diff --git a/templates/backOffice/default/includes/product-general-tab.html b/templates/backOffice/default/includes/product-general-tab.html index 84b9a836d..c78e380ae 100644 --- a/templates/backOffice/default/includes/product-general-tab.html +++ b/templates/backOffice/default/includes/product-general-tab.html @@ -11,15 +11,14 @@ close_url = "{url path='/admin/categories' category_id=$DEFAULT_CATEGORY}" } - {* Be sure to get the product ID, even if the form could not be validated *} + {* Be sure to get the product ID, even if the form could not be validated*} - - + {form_hidden_fields form=$form} {form_field form=$form field='id'} - + {/form_field} {form_field form=$form field='success_url'} @@ -32,33 +31,25 @@ {if $form_error}
{$form_error_message}
{/if} -
- - -
{$REF}
- - {form_field form=$form field='ref'} - - {/form_field} - -
- - {include file="includes/standard-description-form-fields.html"} - - {form_field form=$form field='url'} -
- - - -
- {/form_field} -
-
+
+ {form_field form=$form field='ref'} +
+ +
+ {* If ref's 'value is not empty the field is disable and the value is sent with an hidden field *} + + {if $value}{/if} +
+
+ {/form_field} + + {include file="includes/standard-description-form-fields.html"} +
+ +
{form_field form=$form field='default_category'}
@@ -79,9 +70,7 @@
{/form_field} -
-
{form_field form=$form field='visible'}
@@ -96,16 +85,16 @@
-
-
-
- -
-

{intl l='Product created on %date_create. Last modification: %date_change' date_create="{format_date date=$CREATE_DATE}" date_change="{format_date date=$UPDATE_DATE}"}

-
-
-
-
+ {include + file = "includes/inner-form-toolbar.html" + hide_submit_buttons = false + hide_flags = true + + page_url = "{url path='/admin/products/update' product_id=$ID}" + close_url = "{url path='/admin/categories' category_id=$DEFAULT_CATEGORY}" + } + + {intl l='Product created on %date_create. Last modification: %date_change' date_create="{format_date date=$CREATE_DATE}" date_change="{format_date date=$UPDATE_DATE}"} {/form}