2013-06-08 16:34:51 +00:00
|
|
|
title: $:/core/ui/FieldEditor
|
|
|
|
|
2013-10-21 22:10:20 +00:00
|
|
|
<$fieldmangler><$setvariable name="targetTiddler" value=<<tiddlerTitle>>><div class="tw-edit-fields">
|
2013-10-23 16:04:10 +00:00
|
|
|
<table class="tw-edit-fields"><tbody><$list filter="[is[current]fields[]] -title -tags -text -creator -created -modified -modifier -[[draft.title]] -[[draft.of]]"><tr class="tw-edit-field"><td class="tw-edit-field-name"><<listItem>>:</td><td class="tw-edit-field-value"><$edit-text title=<<targetTiddler>> field=<<listItem>> placeholder="field value"/></td><td class="tw-edit-field-remove"><$button message="tw-remove-field" param=<<listItem>> class="btn-invisible">{{$:/core/images/delete-button}}</$button></td>
|
2013-10-21 22:10:20 +00:00
|
|
|
</tr>
|
|
|
|
</$list>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2013-06-08 16:34:51 +00:00
|
|
|
</div>
|
2013-10-21 22:10:20 +00:00
|
|
|
</$setvariable>
|
2013-06-08 16:34:51 +00:00
|
|
|
|
2013-10-21 22:10:20 +00:00
|
|
|
<div class="tw-edit-field-add">Add a new field: <span class="tw-edit-field-add-name"><$edit-text title="$:/NewFieldName" tag="input" default="" placeholder="field name" class="tw-edit-texteditor"/></span> <span class="tw-edit-field-add-button"><$button message="tw-add-field" param={{$:/NewFieldName}} set="$:/NewFieldName" setTo="" class="">add</$button></span></div>
|
2013-06-08 16:34:51 +00:00
|
|
|
|
|
|
|
</$fieldmangler>
|