diff --git a/templates/backOffice/default/countries.html b/templates/backOffice/default/countries.html index 6682097b0..35c6e37a8 100644 --- a/templates/backOffice/default/countries.html +++ b/templates/backOffice/default/countries.html @@ -125,12 +125,24 @@ {/form_field} - {form_field form=$form field='title'} -
- - -
- {/form_field} + {loop type="lang" name="current-edit-lang" default_only="1"} + + {form_field form=$form field='title'} +
+ +
+ + {intl l=$TITLE} +
+
{intl l="Enter here the value in the default language (%title)" title=$TITLE}
+
+ {/form_field} + + {form_field form=$form field='locale'} + + {/form_field} + + {/loop} {form_field form=$form field='area'}
@@ -161,12 +173,6 @@
{/form_field} - {loop type="lang" name="default-lang" default_only="1"} - - {form_field form=$form field='locale'} - - {/form_field} - {/loop} {module_include location='country_create_form'} diff --git a/templates/backOffice/default/country-edit.html b/templates/backOffice/default/country-edit.html index 0eaa7fd4c..b3177a1ee 100644 --- a/templates/backOffice/default/country-edit.html +++ b/templates/backOffice/default/country-edit.html @@ -32,7 +32,13 @@ {form name="thelia.admin.country.modification"}
- {include file = "includes/inner-form-toolbar.html"} + {include + file = "includes/inner-form-toolbar.html" + hide_submit_buttons = false + + page_url = {url path="/admin/configuration/country/update/$ID"} + close_url = {url path="/admin/configuration/countries"} + }
{* Be sure to get the country ID, even if the form could not be validated *} @@ -41,7 +47,7 @@ {form_hidden_fields form=$form} {form_field form=$form field='success_url'} - + {/form_field} {form_field form=$form field='locale'}