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/browser/templates/configurationmanagepage.pt

    r7705 r7737  
    1313      <table class="form-table">
    1414        <tbody>
    15           <tal:block repeat="widget view/widgets">
    16             <tr>
    17               <td class="fieldname">
    18                   <span tal:condition="widget/required">*
    19                   </span>
    20                   <span tal:content="widget/label">label
    21                   </span>:
    22               </td>
    23               <td>
    24                 <span tal:content="structure widget">
    25                   <input type="text" />
    26                 </span>
    27                 <tal:error tal:condition="widget/error">
    28                   <span tal:replace="structure widget/error">error
    29                   </span>
    30                 </tal:error>
    31                 <tal:hint tal:condition="widget/hint">
    32                   <span tal:content="structure widget/hint">hint
    33                   </span>
    34                 </tal:hint> </td>
    35             </tr>
    36           </tal:block>
     15          <tal:widgets content="structure provider:widgets" />
    3716        </tbody>
    3817      </table>
Note: See TracChangeset for help on using the changeset viewer.