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.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates
Files:
4 edited

Legend:

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

    r7710 r7737  
    1414  <table class="form-table">
    1515    <tbody>
    16       <tal:block repeat="widget view/widgets">
    17         <tr>
    18           <td class="fieldname">
    19             <span tal:condition="widget/required">*</span>
    20             <span tal:content="widget/label">label</span>:
    21           </td>
    22           <td>
    23             <span tal:content="structure widget">
    24               <input type="text" />
    25             </span>
    26             <tal:error tal:condition="widget/error">
    27               <span tal:replace="structure widget/error">error</span>
    28             </tal:error>
    29             <tal:hint tal:condition="widget/hint">
    30               <span tal:content="structure widget/hint">hint</span>
    31             </tal:hint>
    32           </td>
    33         </tr>
    34       </tal:block>
     16      <tal:widgets content="structure provider:widgets" />
    3517      <tr>
    3618        <td class="fieldname" i18n:translate="">
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantregister.pt

    r7710 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="">
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontaineraddpage.pt

    r7710 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    </tbody>
    268  </table>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt

    r7710 r7737  
    2323      <table class="form-table">
    2424        <tbody>
    25           <tal:block repeat="widget view/widgets">
    26             <tr>
    27               <td class="fieldname">
    28                 <span tal:condition="widget/required">*
    29                 </span>
    30                 <span tal:content="widget/label">LABEL
    31                 </span>:
    32               </td>
    33               <td>
    34                 <span tal:content="structure widget">
    35                   <input type="text" />
    36                 </span>
    37                 <tal:error tal:condition="widget/error">
    38                   <span tal:replace="structure widget/error">ERROR
    39                   </span>
    40                 </tal:error>
    41                 <tal:hint tal:condition="widget/hint">
    42                   <span  tal:content="structure widget/hint">HINT
    43                   </span>
    44                 </tal:hint> </td>
    45             </tr>
    46           </tal:block>
     25          <tal:widgets content="structure provider:widgets" />
    4726        </tbody>
    4827      </table>
Note: See TracChangeset for help on using the changeset viewer.