Ignore:
Timestamp:
13 Nov 2006, 20:06:17 (18 years ago)
Author:
joachim
Message:

implemented edit_form handling described in ticket #61

Location:
WAeUP_SRP/trunk/skins/waeup_default
Files:
3 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/external_edit_form.pt

    r810 r859  
    66           no_form=True);
    77    form_action string:external_edit;
     8    form_type string:external;
    89    edition python:True;
    9     metadata metadata|nothing;
    10     ">
    11 <metal:block define-macro="edit_form">
    12 <metal:block use-macro="here/content_lib_master/macros/master">
    13 
    14 
    15   <metal:block fill-slot="header">
    16     <h3>
    17       <tal:block condition="python: edition and not metadata"
    18         i18n:translate="">Edit <span id="page_title" i18n:name="title"
    19         tal:content="here/title_or_id">Page Title</span></tal:block>
    20       <tal:block tal:condition="metadata"
    21         i18n:translate="">Metadata of <span i18n:name="title" tal:content="here/title_or_id">Page Title</span></tal:block>
    22     </h3>
    23   </metal:block>
    24 
    25   <metal:block fill-slot="main">
    26     <form action="ACTION" method="post" id="editForm"
    27           enctype="multipart/form-data" class="workflow"
    28           tal:attributes="action form_action">
    29       <div class="group">
    30         <div class="documentFields">
    31           <tal:block define="getFormUidHtml nocall:modules/Products.CPSDocument.utils/getFormUidHtml"
    32                      replace="structure python:getFormUidHtml(request)"/>
    33          
    34           <input type="hidden" id="button_placeholder" name="button_placeholder" value="" />
    35           <div id="rendered_main" tal:content="structure rendered_main">
    36             CONTENT
    37           </div>
    38         </div>
    39 
    40         <metal:block use-macro="here/external_edit_buttons/macros/buttons"/>
    41                
    42       </div>
    43     </form>
    44   </metal:block>
    45 
    46 </metal:block>
    47 </metal:block>
     10    creation python:False;
     11    metadata metadata|nothing;"
     12    >
     13  <metal:block use-macro="context/waeup_edit_form/macros/edit_form" />
    4814</tal:block>
Note: See TracChangeset for help on using the changeset viewer.