{extends file="admin-layout.tpl"} {block name="after-admin-css"} {stylesheets file='assets/js/image-picker/image-picker.css'} {/stylesheets} {/block} {block name="no-return-functions"} {$admin_current_location = 'tools'} {/block} {block name="check-resource"}admin.brand{/block} {block name="check-access"}view{/block} {block name="page-title"}{intl l='Edit brand'}{/block} {block name="main-content"}
{loop name="brand_edit" type="brand" visible="*" id="{$brand_id}" backend_context="1" lang="$edit_language_id"}
{intl l='Edit brand %title' title={$TITLE}}
{form name="thelia.admin.brand.modification"}
{include file="includes/inner-form-toolbar.html" close_url={url path='/admin/brand'}} {* Be sure to get the currency ID, even if the form could not be validated *} {form_hidden_fields form=$form} {render_form_field form=$form field="success_url" value={url path="/admin/brand"}} {render_form_field form=$form field="locale" value={$edit_language_locale}} {if $form_error}
{$form_error_message}
{/if}
{include file="includes/standard-description-form-fields.html"}
{render_form_field form=$form field="visible"} {custom_render_form_field form=$form field='logo_image_id'} {/custom_render_form_field}
{include file="includes/inner-form-toolbar.html" hide_submit_buttons = false hide_flags = true close_url={url path="/admin/brand"} } {intl l='Brand created on %date_create. Last modification: %date_change' date_create={format_date date=$CREATE_DATE} date_change={format_date date=$UPDATE_DATE} }
{/form}
{form name="thelia.admin.seo"} {include file = "includes/seo-tab.html" form = $form formAction = {url path='/admin/brand/seo/save'} closeUrl = {url path='/admin/brand'} current_id = $brand_id } {/form}
{include file='includes/image-upload-form.html' imageType='brand' parentId=$brand_id}
{include file='includes/document-upload-form.html' documentType='brand' parentId=$brand_id}
{include file = "includes/inner-form-toolbar.html" hide_submit_buttons = true page_url = {$pageUrl} close_url = {$closeUrl} current_tab = "modules" }
{include file="includes/module-tab-content.html" location="brand-edit"}
{/loop}
{/block} {block name="javascript-initialization"} {javascripts file='assets/js/dropzone.js'} {/javascripts} {javascripts file='assets/js/image-upload.js'} {/javascripts} {javascripts file='assets/js/document-upload.js'} {/javascripts} {javascripts file='assets/js/jquery-ui-1.10.3.custom.min.js'} {/javascripts} {javascripts file='assets/js/image-picker/image-picker.min.js'} {/javascripts} {/block} {block name="javascript-last-call"} {module_include location='brand-edit-js'} {/block}