source: waeup/branches/hraban/src/waeup/baseitem_templates/content.pt @ 3737

Last change on this file since 3737 was 3737, checked in by hraban, 16 years ago

Adding and editing of all objects works now. Templates enhanced (not only for debugging). Still no tests. Added SVN-IDs.

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1<!-- $Id: content.pt 3737 2008-10-26 19:14:17Z hraban $ -->
2<div class="breadcrumbs">
3                <a href="" tal:attributes="href python:view.url(context.__parent__)">
4                <span tal:condition="exists:context/__parent__/title" tal:content="context/__parent__/title">Part of</span>
5                <span tal:condition="exists:context/__parent__/name" tal:content="context/__parent__/name">Parent</span>
6                </a>
7</div>
8<h2><span tal:condition="exists:context/title" tal:content="context/title">Part of</span> <span tal:content="context/name">Objects</span></h2>
9<div class="menubar">
10        <ul>
11                <li><a href="" tal:attributes="href python:view.url(context.__parent__)">Up</a></li>
12                <li><a href="" tal:attributes="href python:view.url(context, '@@edit')">Edit</a></li>
13                <!-- <li><a href="" tal:attributes="href python:view.url(context, '@@add')">Add</a></li> -->
14        </ul>
15</div>
16
17<div class="form-fields">
18    <tal:block repeat="widget view/widgets">
19        <div class="form-line">
20            <span class="label" tal:content="widget/label">label</span>:
21            <span class="field" tal:content="structure widget">value</span>
22        </div>
23    </tal:block>
24</div>
25
26<div class="form-fields introspection">
27    <tal:block repeat="item python:context.__dict__.keys()">
28        <div class="form-line">
29            <span class="label" tal:content="item">Key</span>:
30            <span class="field" tal:content="python:context.__dict__[item]">Value</span>
31        </div>
32    </tal:block>
33</div>
Note: See TracBrowser for help on using the repository browser.