Ignore:
Timestamp:
12 May 2011, 15:50:57 (14 years ago)
Author:
Henrik Bettermann
Message:

Implement ReSTWidget.

This widget must only be used once per page because it renders h1 .. h4 tags inside an id.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainerpage.pt

    r6031 r6063  
    11<h2 tal:content="context/title">Title</h2>
    22
    3 <div tal:content="structure view/descriptionToHTML">
    4   Description
    5 </div>
     3<span tal:replace="structure view/widgets/description">Title</span>
     4
     5<br />
    66
    77<table class="zebra">
     
    1919      <tr>
    2020        <td class="fieldname">
    21           <tal:block content="python:widget.label"/>:
     21          <tal:block replace="python:widget.label"/>:
    2222        </td>
    2323        <td class="field">
    24           <input tal:replace="structure widget" />
     24          <tal:block tal:replace="structure widget" />
    2525        </td>
    2626      </tr>
Note: See TracChangeset for help on using the changeset viewer.