{extends file="admin-layout.tpl"} {block name="check-resource"}admin.content{/block} {block name="check-access"}view{/block} {block name="page-title"}{intl l='Edit content'}{/block} {block name="main-content"}
{include file="includes/folder-breadcrumb.html" editing_content="true"}
{loop name="content_edit" type="content" visible="*" id="{$content_id}" backend_context="1" lang="$edit_language_id"}
{intl l='Edit content %title' title=$TITLE}
{if $HAS_PREVIOUS != 0} {else} {/if} {if $HAS_NEXT != 0} {else} {/if}
{form name="thelia.admin.content.modification"}
{include file="includes/inner-form-toolbar.html" close_url="{url path='/admin/folders' parent=$DEFAULT_FOLDER}"} {* Be sure to get the folder ID, even if the form could not be validated *} {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}
{include file="includes/standard-description-form-fields.html"}
{form_field form=$form field='default_folder'}
{/form_field} {form_field form=$form field='visible'}
{/form_field}
{include file="includes/inner-form-toolbar.html" hide_submit_buttons = false hide_flags = true close_url="{url path='/admin/folders' parent=$DEFAULT_FOLDER}" } {intl l='Folder 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/content/seo/save'}" closeUrl = "{url path='/admin/folders' parent=$DEFAULT_FOLDER}" } {/form}
{include file="includes/content-folder-management.html"}
{include file='includes/image-upload-form.html' imageType='content' parentId=$content_id}
{include file='includes/document-upload-form.html' documentType='content' parentId=$content_id}
{module_include location='content-edit'}
{/loop}
{* Delete category confirmation dialog *} {capture "delete_folder_dialog"} {/capture} {include file = "includes/generic-confirm-dialog.html" dialog_id = "delete_folder_dialog" dialog_title = {intl l="Remove associated folder"} dialog_message = {intl l="Do you really want to remove the content from this folder ?"} form_action = {url path='/admin/content/folder/delete'} form_content = {$smarty.capture.delete_folder_dialog nofilter} } {/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} {/block}