source: WAeUP_SRP/trunk/skins/waeup_directory/member_create_form.pt @ 2103

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

ticket #213

File size: 1.2 KB
Line 
1<tal:block define="
2  global dirname request/dirname|string:members;
3  global dir here/portal_directories/?dirname;
4  global dirtitle dir/title_or_id;
5  "/>
6<metal:block use-macro="here/main_template/macros/master">
7
8  <metal:block fill-slot="action_slot"
9               tal:define="actions python:context.getMembersDirectoryActions('create')">   
10     <span metal:use-macro="here/member_view/macros/members_actions" />
11  </metal:block>
12  <metal:block fill-slot="main" tal:define="
13          dummy dir/checkCreateEntryAllowed;
14          validate python: request.has_key('member_create_form');
15          create_request python: validate and request or nothing;
16          res python: dir.renderCreateEntryDetailed(
17          validate=validate, request=create_request,
18          created_callback='member_created');
19          global rendered_main python: res[0];
20          rendered_ok python: res[1];
21          ds python: res[2];
22          global portal_status_message python: validate and (rendered_ok and
23          'psm_content_changed' or 'psm_content_error') or '';"
24          >
25    <h3>
26      Create Member     
27    </h3>       
28    <div tal:replace="structure rendered_main">Rendered main...</div>
29  </metal:block>
30</metal:block>
Note: See TracBrowser for help on using the repository browser.