diff --git a/templates/admin/default/currency-edit.html b/templates/admin/default/currency-edit.html new file mode 100644 index 000000000..a6c6b5500 --- /dev/null +++ b/templates/admin/default/currency-edit.html @@ -0,0 +1,147 @@ +{extends file="admin-layout.tpl"} + +{block name="page-title"}{intl l='Edit a currency'}{/block} + +{block name="check-permissions"}admin.configuration.currencies.edit{/block} + +{block name="main-content"} +
+ +
+ + {loop name="currency_edit" type="currency" id="$currency_id" backend_context="1" lang="$edit_language_id"} + + + +
+
+
+ +
+ {intl l="Edit currency $NAME"} +
+ +
+
+ {form name="thelia.admin.currency.modification"} +
+
+ {* Be sure to get the currency ID, even if the form could not be validated *} + + + {include file="includes/inner-form-toolbar.html"} + + {form_hidden_fields form=$form} + + {form_field form=$form field='success_url'} + + {/form_field} + + {form_field form=$form field='locale'} + + {/form_field} + + {if $form_error}
{$form_error_message}
{/if} + +
+
+
+ + +
+ {form_field form=$form field='name'} + + + + {/form_field} +
+
+ +
+ + +
+ {form_field form=$form field='code'} + + + + {/form_field} +
+
+
+ +
+
+ + +
+ {form_field form=$form field='symbol'} + + + + {/form_field} +
+
+ +
+ + +
+ {form_field form=$form field='rate'} + + + + {/form_field} + Price in Euro * rate = Price in this currency +
+
+
+
+ +
+
+

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

+
+
+ +
+
+ {/form} +
+
+
+
+ +
+ + {/loop} + + {elseloop rel="currency_edit"} +
+
+
+ {intl l="Sorry, currency ID=$currency_id was not found."} +
+
+
+ {/elseloop} + +
+
+{/block} \ No newline at end of file