| | 8 | |
|---|
| | 9 | <metal:body_macro |
|---|
| | 10 | metal:define-macro="body" |
|---|
| | 11 | > |
|---|
| | 12 | <div |
|---|
| | 13 | style="float:right;height:300px;width:225px;background-image:url(ba065b1-300.jpg);border:solid grey 1px;" |
|---|
| | 14 | ></div> |
|---|
| | 15 | <div |
|---|
| | 16 | tal:define="field_macro field_macro | here/widgets/field/macros/view;" |
|---|
| | 17 | tal:repeat="field python:here.Schema().filterFields(isMetadata=0)" |
|---|
| | 18 | > |
|---|
| | 19 | <tal:if_visible |
|---|
| | 20 | define="mode string:view; |
|---|
| | 21 | visState python:field.widget.isVisible(here, mode); |
|---|
| | 22 | visCondition python:field.widget.testCondition(here, portal, template);" |
|---|
| | 23 | condition="python:visState == 'visible' and visCondition" |
|---|
| | 24 | > |
|---|
| | 25 | <metal:use_field |
|---|
| | 26 | use-macro="field_macro" |
|---|
| | 27 | /> |
|---|
| | 28 | </tal:if_visible> |
|---|
| | 29 | </div> |
|---|
| | 30 | </metal:body_macro> |
|---|
| | 31 | |
|---|