Commit 9a8a8880 authored by Christophe Dumez's avatar Christophe Dumez

It is now possible not to use a form for layout (but only PT)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9424 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3ca15b96
......@@ -93,7 +93,7 @@ MISSING:\n
is_edit_mode python: not (not(hasattr(context.REQUEST, \'editable_mode\')) or not(context.REQUEST[\'editable_mode\']));\n
editable_mode python: not layout_form and True or (is_edit_mode or ignore_layout);\n
dummy python: request.set(\'editable_mode\', editable_mode);\n
page_template python: (layout_form and not(ignore_layout)) and getattr(layout_form, \'pt\', None) or \'template_erp5_xhtml_style\';">\n
page_template python: (layout_form and not(ignore_layout)) and (layout_form.meta_type==\'Page Template\' and layout_form.id) or getattr(layout_form, \'pt\', None) or \'template_erp5_xhtml_style\';">\n
<tal:block metal:use-macro="python: getattr(here, page_template).macros[\'master\']">\n
<tal:block metal:fill-slot="context_bar">\n
<tal:block metal:define-slot="context_bar"/>\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment