Ignore:
Timestamp:
1 Mar 2012, 07:06:44 (13 years ago)
Author:
Henrik Bettermann
Message:

Replace widgets loop in all pagetemplates by the new widgets provider.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelmanagepage.pt

    r7669 r7737  
    1111      <table class="form-table">
    1212      <tbody>
    13       <tal:block repeat="widget view/widgets">
    14         <tr>
    15           <td class="fieldname">
    16             <span class="required" tal:condition="widget/required">*</span>
    17             <span tal:content="widget/label">label</span>:
    18           </td>
    19           <td>
    20             <span tal:content="structure widget">
    21               <input type="text" />
    22             </span>
    23             <tal:error tal:condition="widget/error">
    24               <span tal:replace="structure widget/error">error</span>
    25             </tal:error>
    26             <tal:hint tal:condition="widget/hint">
    27               <span tal:content="structure widget/hint">hint</span>
    28             </tal:hint>
    29           </td>
    30         </tr>
    31       </tal:block>
     13        <tal:widgets content="structure provider:widgets" />
    3214      </tbody>
    3315      </table>
Note: See TracChangeset for help on using the changeset viewer.