Commit 26c0114f authored by Jérome Perrin's avatar Jérome Perrin

In view mode, if form does not exists uses template/title_or_id as form_id....

In view mode, if form does not exists uses template/title_or_id as form_id. This is required to use a custom page template instead of a form, like BusinessTemplate_viewSvnStatus does.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15363 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 233b027c
......@@ -83,7 +83,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
tal:define="object_uid here/getUid | nothing;\n
object_path here/getPath | nothing;\n
form nocall: form | nothing;\n
form_id form/id | nothing;\n
form_id form/id | template/title_or_id | nothing;\n
form_action python: form and form.action not in (\'\', None) and here.portal_membership.checkPermission(\'Modify portal content\', here) and form.action or nothing;\n
local_parameter_list local_parameter_list | python: {};\n
dummy python: local_parameter_list.update({\'object_uid\': object_uid, \'object_path\': object_path, \'form_id\': form_id});\n
......
402
\ No newline at end of file
403
\ No newline at end of file
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