source: WAeUP_SRP/base/skins/waeup_directory/member_edit_form.pt @ 2262

Last change on this file since 2262 was 1917, checked in by Henrik Bettermann, 18 years ago

ticket #213

File size: 1.3 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="action_slot"
9               tal:define="actions python:context.getMembersDirectoryActions('edit')">   
10     <span metal:use-macro="here/member_view/macros/members_actions" />
11  </metal:block>
12  <metal:block fill-slot="main" tal:define="
13          title_field dir/title_field;
14          validate python: request.has_key('member_edit_form');
15          edit_request python: validate and request or nothing;
16          res python: dir.renderEditEntryDetailed(id, request=edit_request);
17          global rendered_main python: res[0];
18          rendered_ok python: res[1];
19          ds python: res[2];
20          global title ds/?title_field|id;
21          portal_status_message request/portal_status_message|nothing;
22          global portal_status_message python: portal_status_message or (validate
23          and (rendered_ok and 'psm_content_changed' or 'psm_content_error'))
24          or '';"
25          >
26    <h3>
27      <span tal:content="ds/fullname" />     
28    </h3>       
29    <div tal:replace="structure rendered_main">Rendered main...</div>
30  </metal:block>
31</metal:block>
Note: See TracBrowser for help on using the repository browser.