29 lines
1.0 KiB
XML
29 lines
1.0 KiB
XML
<metal:content-core define-macro="content-core">
|
|
|
|
<tal:block repeat="widget view/widgets/values">
|
|
<div class="field" tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
|
|
<label tal:content="widget/label" />
|
|
<br />
|
|
<div tal:content="structure widget/render" />
|
|
</div>
|
|
</tal:block>
|
|
|
|
<fieldset tal:repeat="group view/groups"
|
|
tal:attributes="id python:''.join((group.prefix, 'groups.', group.__name__)).replace('.', '-')">
|
|
<legend tal:content="group/label" />
|
|
<div class="field" tal:repeat="widget group/widgets/values">
|
|
<label tal:content="widget/label" />
|
|
<br />
|
|
<div tal:content="structure widget/render" />
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset id="folder-listing">
|
|
<legend>Contents</legend>
|
|
<tal:block define="listing_macro context/folder_listing/macros/listing">
|
|
<metal:use_macro use-macro="listing_macro" />
|
|
</tal:block>
|
|
</fieldset>
|
|
|
|
</metal:content-core>
|