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/hostels/browser_templates/hostelmanagepage.pt

    r7718 r7737  
    1515      <table class="form-table">
    1616      <tbody>
    17       <tal:block repeat="widget view/widgets">
    18         <tr>
    19           <td class="fieldname">
    20             <span class="required" tal:condition="widget/required">*</span>
    21             <span tal:content="widget/label">LABEL</span>:
    22           </td>
    23           <td>
    24             <span class="widget" 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</span>
    29             </tal:error>
    30             <tal:hint tal:condition="widget/hint">
    31               <span tal:content="structure widget/hint">HINT</span>
    32             </tal:hint>
    33           </td>
    34         </tr>
    35       </tal:block>
     17        <tal:widgets content="structure provider:widgets" />
    3618      </tbody>
    3719      </table>
Note: See TracChangeset for help on using the changeset viewer.