Ignore:
Timestamp:
16 Aug 2007, 07:05:02 (17 years ago)
Author:
Henrik Bettermann
Message:

no comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/layout_apply_pume_edit.pt

    r2098 r2100  
    77  proceed options/proceed|nothing;
    88  ">
    9 <table width="100%" cellpadding="2" cellspacing="2" summary="Form layout"
     9<table width="100%" cellpadding="2" cellspacing="2" summary="Form layout" border=1
    1010       tal:condition="layout/rows">
    1111  <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">
    1414      <tal:block define="widget cell/widget;
    1515                         wid widget/getWidgetId;
     
    2020                         widget_css_class cell/widget_css_class|nothing;
    2121                         css_class python:test(err, 'row error','row')">
    22         <div tal:attributes="class widget_css_class;
     22        <span tal:attributes="class widget_css_class;
    2323                             id python:widget.getHtmlWidgetId()+'_widget';
    2424                            ">
    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"
    3329              tal:attributes="for cell/widget_input_area_id|nothing;">label</label>
    3430          </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>
    5035          <tal:block condition="err">
    5136              <tal:block define="msg python:cpsmcat(err, mapping=err_mapping)">
     
    5439              </tal:block>
    5540          </tal:block>
    56         </div>
     41        </span>
    5742      </tal:block>
    58     </td>
     43</span>     
     44   
    5945  </tr>
    6046</table>
    61                                 </metal:block>
     47                               
     48</metal:block>
Note: See TracChangeset for help on using the changeset viewer.