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/changepw.pt

    r7735 r7737  
    44  <table class="form-table">
    55    <tbody>
    6       <tal:block repeat="widget view/widgets">
    7         <tr>
    8           <td class="fieldname">
    9               <span tal:condition="widget/required">*</span>
    10               <span tal:content="widget/label">LABEL</span>:
    11           </td>
    12           <td>
    13             <span tal:content="structure widget">
    14               <input type="text" />
    15             </span>
    16             <tal:error tal:condition="widget/error">
    17               <span tal:replace="structure widget/error">ERROR</span>
    18             </tal:error>
    19             <tal:hint tal:condition="widget/hint">
    20               <span tal:content="structure widget/hint">HINT</span>
    21             </tal:hint>
    22           </td>
    23         </tr>
    24       </tal:block>
     6      <tal:widgets content="structure provider:widgets" />
    257      <tr tal:condition="view/captcha_code">
    268        <td i18n:translate="solve_captcha">
Note: See TracChangeset for help on using the changeset viewer.