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

#* Use the following 'if' statement on all template pages so that they know which decorator to use *# #if (!$textUtil.stringSet($key)) true $action.getText("create.global.template") #end #if ($textUtil.stringSet($key)) #applyDecorator("root") #decoratorParam("helper" $action.helper) #decoratorParam("context" "space-templates") #decoratorParam("mode" "view-templates")
#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/createpagetemplate-form.vm")
#parse ( "/breadcrumbs.vm" )
#end #else
#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/createpagetemplate-form.vm")
#parse ( "/breadcrumbs.vm" )
#end