2013-11-18 09:00:25 +00:00
|
|
|
title: $:/core/ui/EditTemplate/type
|
|
|
|
tags: $:/tags/EditTemplate
|
|
|
|
|
2014-01-20 11:21:12 +00:00
|
|
|
<p><$fieldmangler><em class="tw-edit">Type:</em> <$edit-text field="type" tag="input" default="" placeholder="type" focusPopup=<<qualify "$:/state/typeDropdown">> class="tw-edit-typeeditor"/> <$button popup=<<qualify "$:/state/typeDropdown">> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button> <$button message="tw-remove-field" param="type" class="btn-invisible btn-icon">{{$:/core/images/delete-button}}</$button></$fieldmangler></p>
|
2013-11-18 09:00:25 +00:00
|
|
|
|
|
|
|
<div class="tw-block-dropdown-wrapper">
|
|
|
|
<$reveal state=<<qualify "$:/state/typeDropdown">> type="nomatch" text="" default="">
|
|
|
|
<div class="tw-block-dropdown tw-edit-type-dropdown">
|
|
|
|
<$linkcatcher to="!!type">
|
|
|
|
<$list filter="[is[shadow]prefix[$:/docs/types/]] [!is[shadow]prefix[$:/docs/types/]] +[sort[description]]"><$link to={{!!name}}><$view field="description"/> (<$view field="name"/>)</$link>
|
|
|
|
</$list>
|
|
|
|
</$linkcatcher>
|
|
|
|
</div>
|
|
|
|
</$reveal>
|
|
|
|
</div>
|