From 55a4edf906ad0b7ef5650ea56ec7265787b11aad Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 21 Apr 2014 23:02:56 +0200 Subject: [PATCH] add module_include block in some form. Fix #270 --- templates/backOffice/default/administrators.html | 4 ++-- templates/backOffice/default/attribute-edit.html | 2 ++ templates/backOffice/default/customer-edit.html | 6 +++++- templates/backOffice/default/profiles.html | 2 +- .../backOffice/default/shipping-configuration-edit.html | 2 ++ templates/backOffice/default/shipping-zones-edit.html | 2 +- templates/backOffice/default/tax-rule-edit.html | 2 ++ templates/backOffice/default/taxes-rules.html | 4 +++- 8 files changed, 18 insertions(+), 6 deletions(-) diff --git a/templates/backOffice/default/administrators.html b/templates/backOffice/default/administrators.html index 649501c79..f32690554 100644 --- a/templates/backOffice/default/administrators.html +++ b/templates/backOffice/default/administrators.html @@ -193,7 +193,7 @@ {/form_field} - + {module_include location='administrator_create_form'} {/capture} {include @@ -297,7 +297,7 @@ {/form_field} - + {module_include location='administrator_update_form'} {/capture} {include diff --git a/templates/backOffice/default/attribute-edit.html b/templates/backOffice/default/attribute-edit.html index a057fdd26..e635d3892 100644 --- a/templates/backOffice/default/attribute-edit.html +++ b/templates/backOffice/default/attribute-edit.html @@ -259,6 +259,8 @@ {capture "delete_dialog"} + + {module_include location='attribute_id_delete_form'} {/capture} {include diff --git a/templates/backOffice/default/customer-edit.html b/templates/backOffice/default/customer-edit.html index ade8e8741..53a3e6243 100644 --- a/templates/backOffice/default/customer-edit.html +++ b/templates/backOffice/default/customer-edit.html @@ -312,6 +312,8 @@ {include file='includes/customer_address_form_fields.html' customer_id=$customer_id page=$page} + {module_include location='customer_address_create_form'} + {/capture} {include @@ -342,7 +344,7 @@ {include file='includes/customer_address_form_fields.html' customer_id=$customer_id page=$page} - + {module_include location='customer_address_update_form'} {/capture} {include @@ -390,6 +392,8 @@ + + {module_include location='customer_address_delete_form'} {/capture} {include diff --git a/templates/backOffice/default/profiles.html b/templates/backOffice/default/profiles.html index a7d9d701c..20104e725 100644 --- a/templates/backOffice/default/profiles.html +++ b/templates/backOffice/default/profiles.html @@ -165,7 +165,7 @@ {/form_field} - + {module_include location='profile_create_form'} {/capture} {include diff --git a/templates/backOffice/default/shipping-configuration-edit.html b/templates/backOffice/default/shipping-configuration-edit.html index 773794b1b..f4eb75c96 100644 --- a/templates/backOffice/default/shipping-configuration-edit.html +++ b/templates/backOffice/default/shipping-configuration-edit.html @@ -123,6 +123,8 @@ {capture "delete_country_dialog"} + + {module_include location='shipping_configuration_delete_form'} {/capture} {include diff --git a/templates/backOffice/default/shipping-zones-edit.html b/templates/backOffice/default/shipping-zones-edit.html index 72e824af9..8a18a1f59 100644 --- a/templates/backOffice/default/shipping-zones-edit.html +++ b/templates/backOffice/default/shipping-zones-edit.html @@ -133,7 +133,7 @@ {form_field form=$form field='area_id'} {/form_field} - + {module_include location='zone_delete_form'} {/form} {/capture} diff --git a/templates/backOffice/default/tax-rule-edit.html b/templates/backOffice/default/tax-rule-edit.html index eb8220372..06c3f4e38 100644 --- a/templates/backOffice/default/tax-rule-edit.html +++ b/templates/backOffice/default/tax-rule-edit.html @@ -249,6 +249,8 @@ {/form_field} + {module_include location='tax_list_update_form'} + {/capture} {include diff --git a/templates/backOffice/default/taxes-rules.html b/templates/backOffice/default/taxes-rules.html index 2d8d6c118..84cd6f2d6 100644 --- a/templates/backOffice/default/taxes-rules.html +++ b/templates/backOffice/default/taxes-rules.html @@ -221,6 +221,8 @@ {/form_tagged_fields} + {module_include location='tax_create_form'} + {/capture} {include @@ -297,7 +299,7 @@ form_content = {$smarty.capture.tax_delete_dialog nofilter} {/form_field} - + {module_include location='tax_rule_create_form'} {/capture} {include