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

Last change on this file since 1906 was 1901, checked in by joachim, 17 years ago
File size: 1.0 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  <metal:block fill-slot="main" tal:define="
8  actions python:context.getMembersDirectoryActions('create');
9  dummy dir/checkCreateEntryAllowed;
10  validate python: request.has_key('member_create_form');
11  create_request python: validate and request or nothing;
12  res python: dir.renderCreateEntryDetailed(
13  validate=validate, request=create_request,
14  created_callback='member_created');
15  global rendered_main python: res[0];
16  rendered_ok python: res[1];
17  ds python: res[2];
18  global portal_status_message python: validate and (rendered_ok and
19  'psm_content_changed' or 'psm_content_error') or '';"
20  >
21    <span metal:use-macro="here/member_view/macros/members_actions" />
22    <h3>
23      Create Member     
24    </h3>       
25    <div tal:replace="structure rendered_main">Rendered main...</div>
26  </metal:block>
27</metal:block>
Note: See TracBrowser for help on using the repository browser.