title: $:/core/ui/EditTemplate/body
tags: $:/tags/EditTemplate
\define lingo-base() $:/language/EditTemplate/Body/
<$list filter="[is[current]has[_canonical_uri]]">
$list>
<$list filter="[is[current]!has[_canonical_uri]]">
<$reveal state="$:/state/showeditpreview" type="match" text="yes">
<> <$button type="set" set="$:/state/showeditpreview" setTo="no"><>$button>
<$transclude />
<$edit field="text" class="tc-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>
$reveal>
<$reveal state="$:/state/showeditpreview" type="nomatch" text="yes">
<> <$button type="set" set="$:/state/showeditpreview" setTo="yes"><>$button>
<$edit field="text" class="tc-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>
$reveal>
$list>