From 5ee716ff9e4f8be206724a1681c8747488a0b62b Mon Sep 17 00:00:00 2001 From: Kevin Granger Date: Wed, 23 Oct 2013 11:18:31 +0200 Subject: [PATCH] // fix admin edit countries --- .../countries/helpers/form/form.tpl | 56 +++++++++---------- .../admin/AdminCountriesController.php | 31 +++++----- 2 files changed, 46 insertions(+), 41 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/countries/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/countries/helpers/form/form.tpl index 8f6d6923c..ddeec6ef9 100644 --- a/admin-dev/themes/default/template/controllers/countries/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/countries/helpers/form/form.tpl @@ -26,29 +26,34 @@ {block name="field"} {if $input.type == 'address_layout'} - -
- -
-
- {l s='Required fields for the address (click for more details):'} {$input.display_valid_fields} +
+
+
+ +
+
+ {l s='Required fields for the address (click for more details):'} + {$input.display_valid_fields} +
+
+
-
- {else} {$smarty.block.parent} - {/if} + {/if} {/block} + {block name="input_row"} {if $input.name == 'standardization'} '; + return $html = $html_tabnav.$html_tabcontent; } public static function displayCallPrefix($prefix) { return ((int)$prefix ? '+'.$prefix : '-'); } -} - - +} \ No newline at end of file