$action.getText("preview.and.edit.template")

#if (!$textUtil.stringSet($key)) $action.getText("create.global.template") #end #if ($textUtil.stringSet($key)) #applyDecorator("root") #decoratorParam("helper" $action.helper) #decoratorParam("context" "space-operations") #decoratorParam("mode" "view-space-operations") #applyDecorator ("root") #decoratorParam ("context" "spacecontentpanel") #decoratorParam ("title" $action.getText("title.edit.page.template")) #decoratorParam ("selection" "space-templates") #decoratorParam ("selectedTab" "content") #decoratorParam("helper" $action.helper)
#parse ("/pages/includes/alert-preview-start.vm")
$xHtmlContent
#parse ("/pages/includes/alert-preview-end.vm") #tag ("Hidden" "name='name'" "value=name") #tag ("Hidden" "name='description'" "value=description") #tag ("Hidden" "name='content'" "value=content")
#parse ("/pages/includes/editpagetemplate-form.vm")
#end #end #else
#parse ( "/template/includes/actionerrors.vm" )
#parse ("/pages/includes/alert-preview-start.vm")
$xHtmlContent
#tag ("Hidden" "name='name'" "value=name") #tag ("Hidden" "name='description'" "value=description") #tag ("Hidden" "name='content'" "value=content") #parse ("/pages/includes/alert-preview-end.vm")
#parse ("/pages/includes/editpagetemplate-form.vm")
#parse ( "/breadcrumbs.vm" )
#end