{$context->oPage->requireJSResource("thirdpartyjs/tinymce/jscripts/tiny_mce/tiny_mce.js")}
{capture assign=sJS}
{literal}
tinyMCE.init({
		mode : "textareas",
		theme : "simple"
});
{/literal}
{/capture}
{$context->oPage->requireJSStandalone($sJS)}

<form method="POST" action="{$smarty.server.PHP_SELF}">
<input type="hidden" name="id" value="{$help->getId()}">
<input type="hidden" name="action" value="updateReplacement">
<h2>{i18n}Title{/i18n}</h2>
<input type="text" name="title" value="{$help->getTitle()}" />
<h2>{i18n}Help content{/i18n}</h2>
<textarea cols="60" rows="20" name="description">{$help->getDescription()}</textarea>
<br />
<input type="submit" name="submit" value="{i18n}Update{/i18n}" />
</form>
