Last change
on this file since 795 was
597,
checked in by Henrik Bettermann, 18 years ago
|
open external edit windows in faculty_index_view.pt
and showing [edit] link only if permitted
|
File size:
1.5 KB
|
Line | |
---|
1 | <tal:block define=" |
---|
2 | rendered_main python:here.cpsdocument_edit_render(request=request); |
---|
3 | form_action string:external_edit; |
---|
4 | edition python:True; |
---|
5 | metadata metadata|nothing; |
---|
6 | "> |
---|
7 | <metal:block define-macro="edit_form"> |
---|
8 | <metal:block use-macro="here/content_lib_master/macros/master"> |
---|
9 | |
---|
10 | |
---|
11 | <metal:block fill-slot="header"> |
---|
12 | <h3> |
---|
13 | <tal:block condition="python: edition and not metadata" |
---|
14 | i18n:translate="">Edit <span id="page_title" i18n:name="title" |
---|
15 | tal:content="here/title_or_id">Page Title</span></tal:block> |
---|
16 | <tal:block tal:condition="metadata" |
---|
17 | i18n:translate="">Metadata of <span i18n:name="title" tal:content="here/title_or_id">Page Title</span></tal:block> |
---|
18 | </h3> |
---|
19 | </metal:block> |
---|
20 | |
---|
21 | <metal:block fill-slot="main"> |
---|
22 | <form action="ACTION" method="post" id="editForm" |
---|
23 | enctype="multipart/form-data" class="workflow" |
---|
24 | tal:attributes="action form_action"> |
---|
25 | <div class="group"> |
---|
26 | <div class="documentFields"> |
---|
27 | <tal:block define="getFormUidHtml nocall:modules/Products.CPSDocument.utils/getFormUidHtml" |
---|
28 | replace="structure python:getFormUidHtml(request)"/> |
---|
29 | |
---|
30 | <input type="hidden" id="button_placeholder" name="button_placeholder" value="" /> |
---|
31 | <div id="rendered_main" tal:content="structure rendered_main"> |
---|
32 | CONTENT |
---|
33 | </div> |
---|
34 | </div> |
---|
35 | |
---|
36 | <metal:block use-macro="here/external_edit_buttons/macros/buttons"/> |
---|
37 | |
---|
38 | </div> |
---|
39 | </form> |
---|
40 | </metal:block> |
---|
41 | |
---|
42 | </metal:block> |
---|
43 | </metal:block> |
---|
44 | </tal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.