diff --git a/core/ui/EditTemplate.tid b/core/ui/EditTemplate.tid index 5b351bf1e..fe9f72ddb 100644 --- a/core/ui/EditTemplate.tid +++ b/core/ui/EditTemplate.tid @@ -29,10 +29,4 @@ modifier: JeremyRuston <$edit field="text"/> -<$fieldmangler>
<$fieldlist exclude="title tags text modified modifier draft.title draft.of">
<$info type="currentField"/>: <$edit placeholder="field value"/> <$button message="tw-remove-field" class="btn-invisible">{{$:/core/images/delete-button}}
- -
- -
Add a new field: <$edit tiddler="$:/NewFieldName" type="input" default="" placeholder="field name"/> <$button message="tw-add-field" param={{$:/NewFieldName}} set="$:/NewFieldName" setTo="" class="">add
- - +{{$:/core/ui/FieldEditor}} diff --git a/core/ui/FieldEditor.tid b/core/ui/FieldEditor.tid new file mode 100644 index 000000000..fbd9b293f --- /dev/null +++ b/core/ui/FieldEditor.tid @@ -0,0 +1,9 @@ +title: $:/core/ui/FieldEditor + +<$fieldmangler>
<$fieldlist exclude="title tags text modified modifier draft.title draft.of">
<$info type="currentField"/>: <$edit placeholder="field value"/> <$button message="tw-remove-field" class="btn-invisible">{{$:/core/images/delete-button}}
+ +
+ +
Add a new field: <$edit tiddler="$:/NewFieldName" type="input" default="" placeholder="field name"/> <$button message="tw-add-field" param={{$:/NewFieldName}} set="$:/NewFieldName" setTo="" class="">add
+ +