Commit ff52f894 authored by Kevin Deldycke's avatar Kevin Deldycke

Try to get form from 'form' variable before 'current_form_id'.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9512 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6bfabd8f
...@@ -85,7 +85,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -85,7 +85,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
alt info;"/></a>\n alt info;"/></a>\n
</tal:block>\n </tal:block>\n
<tal:block metal:define-macro="form"\n <tal:block metal:define-macro="form"\n
tal:define="form python: getattr(here, current_form_id, None)"\n tal:define="form python: (hasattr(here, \'form\') and here.form) or (hasattr(here, \'current_form_id\') and getattr(here, current_form_id, None))"\n
tal:condition="python: context.Base_getSourceVisibility(form)">\n tal:condition="python: context.Base_getSourceVisibility(form)">\n
<tal:block tal:define="image python: \'editform.png\';\n <tal:block tal:define="image python: \'editform.png\';\n
info python: \'Edit this form\';\n info python: \'Edit this form\';\n
......
2006-08-28 JP
* Trash widget_render. field_render should be used instead.
2006-08-28 Kevin 2006-08-28 Kevin
* Test form accessibility earlier in developper_shortcut_render to let login_form be rendered in erp5_web when anonymous. * Test form accessibility earlier in developper_shortcut_render to let login_form be rendered in erp5_web when anonymous.
* Try to get form from 'form' variable before 'current_form_id'.
2006-08-28 JP
* Trash widget_render. field_render should be used instead.
2006-08-25 Kevin 2006-08-25 Kevin
* Move hidden input and globals definition code to separate file. * Move hidden input and globals definition code to separate file.
......
140 142
\ No newline at end of file \ No newline at end of file
1.2.17 1.2.18
\ No newline at end of file \ 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