- Timestamp:
- 16 Aug 2007, 07:05:02 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/layout_apply_pume_edit.pt
r2098 r2100 7 7 proceed options/proceed|nothing; 8 8 "> 9 <table width="100%" cellpadding="2" cellspacing="2" summary="Form layout" 9 <table width="100%" cellpadding="2" cellspacing="2" summary="Form layout" border=1 10 10 tal:condition="layout/rows"> 11 11 <tr tal:repeat="row layout/rows" valign="top"> 12 <td tal:repeat="cell row" 13 tal:attributes="colspan cell/ncols"> 12 13 <span tal:repeat="cell row"> 14 14 <tal:block define="widget cell/widget; 15 15 wid widget/getWidgetId; … … 20 20 widget_css_class cell/widget_css_class|nothing; 21 21 css_class python:test(err, 'row error','row')"> 22 < divtal:attributes="class widget_css_class;22 <span tal:attributes="class widget_css_class; 23 23 id python:widget.getHtmlWidgetId()+'_widget'; 24 24 "> 25 <div class="label" tal:condition="widget/label_edit" 26 tal:attributes="class python:test(is_required, 'label required', 27 'label')"> 28 <label i18n:translate="" tal:condition="widget/is_i18n" 29 tal:content="widget/label_edit" 30 tal:attributes="for cell/widget_input_area_id|nothing;">label</label> 31 <label tal:condition="not:widget/is_i18n" 32 tal:content="widget/label_edit" 25 26 <td tal:condition="widget/label_edit"> 27 <div tal:attributes="class python:test(is_required, 'label required','label')"> 28 <label tal:content="widget/label_edit" 33 29 tal:attributes="for cell/widget_input_area_id|nothing;">label</label> 34 30 </div> 35 <button type="button" class="tooltipControl" 36 tal:condition="widget/help" 37 tal:attributes="onclick python:'toggleElementVisibility(\'%s\')' % tooltip_id;"> ? </button> 38 <div class="field"> 39 <div tal:replace="structure cell/widget_rendered"/> 40 </div> 41 <div class="tooltipArea" style="visibility: hidden;" 42 tal:condition="widget/help" 43 tal:attributes="id tooltip_id; 44 onclick python:'showElement(false, \'%s\')' % tooltip_id;"> 45 <tal:block i18n:translate="" tal:condition="widget/is_i18n" 46 tal:content="widget/help">i18_key-help_for_this_field</tal:block> 47 <tal:block tal:condition="not:widget/is_i18n" 48 tal:content="widget/help">This is the help for this field</tal:block> 49 </div> 31 </td> 32 <td> 33 <label tal:replace="structure cell/widget_rendered"/> 34 </td> 50 35 <tal:block condition="err"> 51 36 <tal:block define="msg python:cpsmcat(err, mapping=err_mapping)"> … … 54 39 </tal:block> 55 40 </tal:block> 56 </ div>41 </span> 57 42 </tal:block> 58 </td> 43 </span> 44 59 45 </tr> 60 46 </table> 61 </metal:block> 47 48 </metal:block>
Note: See TracChangeset for help on using the changeset viewer.