468d48ec7ff8e5296346ece2e5edb21b39238d17
[MosaicDocument.git] / default_slots / slot_text_view.pt
1 <div tal:define="object nocall:options/object;
2 text_format object/text_format;">
3 <div tal:condition="python:text_format == 'structured-text'"
4 class="slot_text">
5 <p tal:replace="structure python:here.portal_transforms.convert('st_to_html', object.text)">Structured text</p>
6 </div>
7 <div tal:condition="python:text_format != 'structured-text' "
8 class="slot_text">
9 <p tal:replace="structure object/text">plain text</p>
10 </div>
11 </div>