Ignore:
Timestamp:
28 Nov 2007, 07:28:20 (17 years ago)
Author:
Henrik Bettermann
Message:

page templates prepared for new app number

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_layout/layout_apply_admission_create.pt

    r2796 r2801  
    1414 
    1515  <table  cellpadding="2" cellspacing="2" summary="Form layout" border=0
    16           tal:condition="layout/rows">
    17     <tal:block repeat="row layout/rows">
    18       <tal:block repeat="cell row" >
     16       tal:condition="layout/rows">
     17
     18  <tal:block repeat="row layout/rows" >
     19       
     20  <tal:block define="widget python:row[0]['widget']">
     21    <tr tal:condition="widget/description|nothing" class="even ajaxtd">
     22      <th colspan="5" align="left"><span tal:replace="widget/description" /></th>
     23    </tr>
     24  </tal:block>
     25 
     26  <tr valign="top">
     27  <span tal:repeat="cell row">
    1928        <tal:block define="widget cell/widget;
    2029                           wid widget/getWidgetId;
     
    2231                           err_mapping python:ds.getErrorMapping(wid);
    2332                           widget_css_class cell/widget_css_class|nothing;
    24                            css_class python:test(err, 'row error','row')"
    25                            >
    26           <tr tal:condition="widget/description|nothing" class="even ajaxtd">
    27             <th colspan="5" align="left"><h3 tal:replace="widget/description" /></th>
    28           </tr>
    29           <tr valign="top">
    30             <span tal:attributes="class widget_css_class;
    31             id python:widget.getHtmlWidgetId()+'_widget';"
    32             >
    33               <td valign="middle" tal:condition="python:widget.label_edit and widget.label_edit!='label field'">               
    34                 <div class="label">
    35                   <label tal:content="widget/label_edit"
    36                          tal:attributes="for cell/widget_input_area_id|nothing;">label</label>
    37                 </div>
    38               </td>
     33                           css_class python:test(err, 'row error','row')">
     34          <span tal:attributes="class widget_css_class;
     35                               id python:widget.getHtmlWidgetId()+'_widget';
     36                              ">
     37
     38
     39
     40            <td valign="middle" tal:condition="python:widget.label_edit and widget.label_edit!='label field'">               
     41              <div class="label">
     42                <label tal:content="widget/label_edit"
     43                  tal:attributes="for cell/widget_input_area_id|nothing;">label</label>
     44              </div>
     45            </td>
    3946           
    40               <td tal:condition="cell/widget_rendered">
    41                 <div tal:attributes="class python:test(widget.label_edit == 'label field', 'label','')">         
    42                   <label tal:replace="structure cell/widget_rendered"/>
    43                 </div>         
    44                 <tal:block condition="err">
     47            <td tal:condition="cell/widget_rendered">
     48              <div tal:attributes="class python:test(widget.label_edit == 'label field', 'label','')">         
     49              <label tal:replace="structure cell/widget_rendered"/>
     50              </div>         
     51              <tal:block condition="err">
    4552                  <tal:block define="msg python:cpsmcat(err, mapping=err_mapping)">
    4653                    <br /><em style="color: red"
    47                               tal:content="msg">err</em>
     54                      tal:content="msg">err</em>
    4855                  </tal:block>
    49                 </tal:block>
    50               </td>
     56              </tal:block>
     57            </td>
     58 
    5159          </span>
    52           </tr>
    5360        </tal:block>
    54       </tal:block>
    55     </tal:block>
     61  </span>     
     62  </tr>
     63 
     64  </tal:block>
     65 
    5666  </table>
    5767  <br/>
Note: See TracChangeset for help on using the changeset viewer.