source: WAeUP_SRP/trunk/skins/waeup_directory/member_edit_form.pt @ 1906

Last change on this file since 1906 was 1901, checked in by joachim, 17 years ago
File size: 1.1 KB
Line 
1<tal:block define="
2  global id request/id;
3  global dirname string:members;
4  global dir here/portal_directories/?dirname;
5  global dirtitle dir/title_or_id;
6  "/>
7<metal:block use-macro="here/main_template/macros/master">
8  <metal:block fill-slot="main" tal:define="
9  actions python:context.getMembersDirectoryActions('edit');
10  title_field dir/title_field;
11  validate python: request.has_key('member_edit_form');
12  edit_request python: validate and request or nothing;
13  res python: dir.renderEditEntryDetailed(id, request=edit_request);
14  global rendered_main python: res[0];
15  rendered_ok python: res[1];
16  ds python: res[2];
17  global title ds/?title_field|id;
18  portal_status_message request/portal_status_message|nothing;
19  global portal_status_message python: portal_status_message or (validate
20  and (rendered_ok and 'psm_content_changed' or 'psm_content_error'))
21  or '';"
22  >
23    <span metal:use-macro="here/member_view/macros/members_actions" />
24    <h3>
25      <span tal:content="ds/fullname" />     
26    </h3>       
27    <div tal:replace="structure rendered_main">Rendered main...</div>
28  </metal:block>
29</metal:block>
Note: See TracBrowser for help on using the repository browser.