2013-11-15 22:55:32 +00:00
|
|
|
title: $:/core/ui/EditTemplate/body
|
|
|
|
tags: $:/tags/EditTemplate
|
|
|
|
|
2014-06-12 07:36:30 +00:00
|
|
|
\define lingo-base() $:/language/EditTemplate/Body/
|
|
|
|
<$list filter="[is[current]has[_canonical_uri]]">
|
|
|
|
|
|
|
|
<div class="tw-message-box">
|
|
|
|
|
|
|
|
<<lingo External/Hint>>
|
|
|
|
|
|
|
|
<a href={{!!_canonical_uri}}><$text text={{!!_canonical_uri}}/></a>
|
|
|
|
|
|
|
|
<$edit-text field="_canonical_uri" class="tw-edit-fields"></$edit-text>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</$list>
|
|
|
|
|
|
|
|
<$list filter="[is[current]!has[_canonical_uri]]">
|
|
|
|
|
2014-05-16 05:47:21 +00:00
|
|
|
<$reveal state="$:/state/showeditpreview" type="match" text="yes">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-06-12 07:36:30 +00:00
|
|
|
<em class="tw-edit"><<lingo Hint>></em> <$button type="set" set="$:/state/showeditpreview" setTo="no"><<lingo Preview/Button/Hide>></$button>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
<div class="tw-tiddler-preview">
|
|
|
|
<div class="tw-tiddler-preview-preview">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
<$transclude />
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</div>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
<div class="tw-tiddler-preview-edit">
|
2014-02-16 09:46:43 +00:00
|
|
|
<$edit field="text" class="tw-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</div>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</div>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</$reveal>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-05-16 05:47:21 +00:00
|
|
|
<$reveal state="$:/state/showeditpreview" type="nomatch" text="yes">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-06-12 07:36:30 +00:00
|
|
|
<em class="tw-edit"><<lingo Hint>></em> <$button type="set" set="$:/state/showeditpreview" setTo="yes"><<lingo Preview/Button/Show>></$button>
|
2014-02-16 09:46:43 +00:00
|
|
|
<$edit field="text" class="tw-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</$reveal>
|
2014-06-12 07:36:30 +00:00
|
|
|
|
|
|
|
</$list>
|