{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'configuration'} {/block} {block name="page-title"}{intl l='Edit a template'}{/block} {block name="check-resource"}admin.configuration.template{/block} {block name="check-access"}update{/block} {block name="main-content"}
{loop name="template_edit" type="product-template" id="$template_id" backend_context="1" lang="$edit_language_id"} {hook name="template-edit.top" template_id=$template_id}
{intl l='Edit template "%name"' name={$NAME}}
{form name="thelia.admin.template.modification"}
{* Be sure to get the template ID, even if the form could not be validated *} {include file="includes/inner-form-toolbar.html" close_url="{url path='/admin/configuration/templates'}"} {form_hidden_fields} {form_field field='success_url'} {/form_field} {form_field field='locale'} {/form_field} {if $form_error}
{$form_error_message}
{/if} {form_field field='name'}
{/form_field}
{/form}

{intl l='Attributes'}

{intl l="Manage attributes included in this product template"}

{intl l='Features'}

{intl l="Manage features included in this product template"}

{hook name="template-edit.bottom" template_id=$template_id} {/loop} {elseloop rel="template_edit"}
{intl l="Sorry, template ID=%id was not found." id={$template_id}}
{/elseloop}
{/block} {block name="javascript-initialization"} {javascripts file='assets/js/bootstrap-editable/bootstrap-editable.js'} {/javascripts} {/block} {block name="javascript-last-call"} {hook name="template.edit-js" location="template-edit-js" } {/block}