source: WAeUP_SRP/trunk/skins/waeup_directory/layout_waeup_dir_search.pt @ 17660

Last change on this file since 17660 was 4305, checked in by Henrik Bettermann, 15 years ago

replace deprecated align attribute (right and center)

  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1<tal:block define="
2  layout options/layout;
3  ds options/datastructure;
4  formaction request/formaction|python: 'search_members_form';
5  ">
6<div class="group">
7<form action="." method="post" name="form" enctype="multipart/form-data"
8  tal:attributes="action formaction">
9<input type="hidden" name="dirname" value="."
10  tal:attributes="value request/dirname|string:members" />
11<table cellpadding="0" cellspacing="2" summary="form layout">
12  <tr tal:repeat="row layout/rows">
13    <tal:block repeat="cell row">
14    <tal:block define="widget cell/widget;
15                       wid widget/getWidgetId;
16                       err python: ds.getError(wid);
17                       is_required python: cell['widget_mode'] == 'edit' and widget.is_required;
18                       ">
19      <td style='text-align:right'  valign="top">
20        <div class="label" tal:condition="widget/label_edit">
21          <span i18n:translate="" tal:condition="widget/is_i18n"
22            tal:content="widget/label_edit">label</span
23          ><span tal:condition="not:widget/is_i18n"
24            tal:content="widget/label_edit">label</span
25          >&nbsp;:
26        </div>
27      </td>
28      <td valign="top" colspan="1"
29        tal:attributes="colspan python:cell['ncols']*2-1">
30        <div tal:attributes="class python:err and 'error' or nothing">
31          <div tal:attributes="class widget/css_class|nothing">
32            <tal:block replace="structure cell/widget_rendered" />
33          </div>
34          <div tal:condition="err">
35            <em style="color:red" tal:content="err"
36              i18n:translate="">Error</em>
37          </div>
38        </div>
39      </td>
40    </tal:block>
41    </tal:block>
42  </tr>
43  <tr><td></td>
44    <td><input type="submit" class="standalone"
45          name="cpsdirectory_search_button" value="button_search"
46          i18n:attributes="value" /></td>
47  </tr>
48</table>
49</form>
50</div>
51</tal:block>
Note: See TracBrowser for help on using the repository browser.