%{
}%
%TMPL:INCLUDE{"edit"}%
%{
}%
%{
}%
%TMPL:DEF{"formdefinition"}%%URLPARAM{"formtemplate"
default="%IF{"'%URLPARAM{"templatetopic"}%'!='' and '%URLPARAM{"templatetopic"}%'/form.name!=''"
then="$percntQUERY{\"'%URLPARAM{"templatetopic"}%'/form.name\"}$percnt"
else="%IF{"istopic '%WEB%.%TOPIC%'"
then="$percntQUERY{\"form.name\"}$percnt"
else="$percntQUERY{\"'WebTopicEditTemplate'/form.name\"}$percnt"
}%"
}%"
}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"edittoolbar::paragraphmenu::h1"}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"firsttab"}%%IF{
"$'URLPARAM{action}'!='form'"
then="$percntTMPL:P{\"firsttab::impl\"}$percnt"
else="$percntTMPL:P{\"hiddentextarea\"}$percnt"
}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"hiddentextarea"}%<textarea class='natedit foswikiHidden' data-hidden='true' data-show-toolbar='false'></textarea>%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"firsttab::impl"}%%TAB{"%TRANSLATE{"Text"}%"}%
%TMPL:P{"topicmeta"}%
%TMPL:P{"textarea"}%
%ENDTAB%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"formfields"}%<!-- disabled -->%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"editfields"}%TopicTitle, Summary%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"topicmeta"}%%RENDERFOREDIT{
form="%TMPL:P{"formdefinition"}%"
fields="%TMPL:P{"editfields"}%"
header="<div class='natEditTopicInfo'><table class='foswikiLayoutTable jqTooltip'>"
format="<tr title='$description'><th valign='top'>$title$mandatory:</th><td valign='top'>$edit</td></tr>"
footer="</table></div>"
TopicTitle_title="%TRANSLATE{"Title"}%"
TopicTitle_default="%BASETOPIC%"
Summary_title="%TRANSLATE{"Summary"}%"
}%<!-- --> %TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"formattop"}%<noautolink>%IF{"not '%TMPL:P{"formdefinition"}%'=~'^(none)?$'"
then="<input type='hidden' name='TopicType' value='$percntRENDERFORMDEF{\"%TMPL:P{"formdefinition"}%\" field=\"TopicType\" format=\"$value\"}$percnt' />"
}%
</noautolink>%TMPL:END%
%{
}%