loops/browser/concept_children.pt
helmutm 952cd7e9a8 Basic refactoring of concept stuff as preparation for user interface features
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1070 fd906abe-77d9-0310-91a1-e0d9ade77398
2006-02-12 15:38:29 +00:00

50 lines
1.6 KiB
XML

<tal:tag condition="view/update" />
<html metal:use-macro="context/@@standard_macros/view"
i18n:domain="zope">
<body>
<div metal:fill-slot="body">
<h1 tal:content="context/title">Concept Title</h1>
<div class="row">
<span class="label">Sub-Concepts</span>:
<span class="field"
tal:repeat="concept view/children">
<span tal:condition="python: concept is None">**deleted**</span>
<a href="#"
tal:attributes="href string:${concept/url}/children.html">
<span tal:condition="python: concept is not None"
tal:replace="concept/title">child</span>
</a>
<span class="field" tal:condition="not:repeat/concept/end"> - </span>
</span>
</div>
<div class="row">
<span class="label">Parent Concepts</span>:
<span class="field"
tal:repeat="concept view/parents">
<a href="#"
tal:attributes="href string:${concept/url}/children.html">
<span tal:replace="concept/title">parent</span>
</a>
<span class="field" tal:condition="not:repeat/concept/end"> - </span>
</span>
</div>
<form action="." method="post"
tal:attributes="action request/URL">
<div class="row">
<span class="label">Concept Name</span>:
<span class="field">
<input type="test" name="concept_name" />
</span>
</div>
<div class="row">
<input type="submit" name="concept_assign" value="Assign Concept" />
</div>
</form>
</div>
</body>
</html>