Changeset 2796 for WAeUP_SRP/base/skins/waeup_layout
- Timestamp:
- 27 Nov 2007, 15:55:40 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_layout/layout_apply_admission_create.pt
r2792 r2796 14 14 15 15 <table cellpadding="2" cellspacing="2" summary="Form layout" border=0 16 tal:condition="layout/rows"> 17 <tr tal:repeat="row layout/rows" valign="top"> 18 19 <span tal:repeat="cell row"> 16 tal:condition="layout/rows"> 17 <tal:block repeat="row layout/rows"> 18 <tal:block repeat="cell row" > 20 19 <tal:block define="widget cell/widget; 21 20 wid widget/getWidgetId; … … 23 22 err_mapping python:ds.getErrorMapping(wid); 24 23 widget_css_class cell/widget_css_class|nothing; 25 css_class python:test(err, 'row error','row')"> 26 <span tal:attributes="class widget_css_class; 27 id python:widget.getHtmlWidgetId()+'_widget'; 28 "> 29 30 31 <td valign="middle" tal:condition="python:widget.label_edit and widget.label_edit!='label field'"> 32 <div class="label"> 33 <label tal:content="widget/label_edit" 34 tal:attributes="for cell/widget_input_area_id|nothing;">label</label> 35 </div> 36 </td> 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> 37 39 38 <td tal:condition="cell/widget_rendered">39 <div tal:attributes="class python:test(widget.label_edit == 'label field', 'label','')">40 <label tal:replace="structure cell/widget_rendered"/>41 </div>42 <tal:block condition="err">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"> 43 45 <tal:block define="msg python:cpsmcat(err, mapping=err_mapping)"> 44 46 <br /><em style="color: red" 45 tal:content="msg">err</em>47 tal:content="msg">err</em> 46 48 </tal:block> 47 </tal:block> 48 </td> 49 49 </tal:block> 50 </td> 50 51 </span> 52 </tr> 51 53 </tal:block> 52 </span>53 </tr>54 </tal:block> 55 </tal:block> 54 56 </table> 55 57 <br/>
Note: See TracChangeset for help on using the changeset viewer.