Commit d9aa6a8f authored by Kevin Deldycke's avatar Kevin Deldycke

Test form accessibility earlier in developper_shortcut_render to let...

Test form accessibility earlier in developper_shortcut_render to let login_form be rendered in erp5_web when anonymous.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9508 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 11dcc3e1
......@@ -84,15 +84,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
title info;"><img tal:attributes="src python: \'images/%s\' % (image, );\n
alt info;"/></a>\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:condition="python: context.Base_getSourceVisibility(form)">\n
<tal:block tal:define="image python: \'editform.png\';\n
info python: \'Edit this form\';\n
object python: form;\n
manage python: \'manage\'">\n
<tal:block metal:use-macro="template/macros/edit_link"/>\n
</tal:block>\n
<tal:block tal:define="image python: \'editformrenderer.png\';\n
info python: \'Edit this form\\\'s renderer\';\n
<tal:block tal:define="image python: \'editformrenderer.png\';\n
info python: \'Edit this form\\\'s renderer\';\n
object python: getattr(here, form.pt, None);\n
manage python: \'manage_main\'">\n
<tal:block metal:use-macro="template/macros/edit_link"/>\n
......
......@@ -73,6 +73,10 @@
dummy python: http_parameter_list.update(local_parameter_list);\n
global http_parameters python: here.ERP5XhtmlStyle_renderHTTPParameterList(http_parameter_list);\n
"/>\n
\n
<!--p tal:content="python: repr( local_parameter_list.get(\'form_id\', \'view\') )"/>\n
<p tal:content="python: repr( local_parameter_list.get(\'dialog_id\', local_parameter_list.get(\'form_id\', \'view\')) )"/-->\n
\n
</tal:block>\n
\n
<!-- ============================================================== -->\n
......
2006-08-28 JP
* Trash widget_render. field_render should be used instead.
2006-08-28 Kevin
* Test form accessibility earlier in developper_shortcut_render to let login_form be rendered in erp5_web when anonymous.
2006-08-25 Kevin
* Move hidden input and globals definition code to separate file.
* Move planning box generic header stuff to global_definition.
......
127
\ No newline at end of file
136
\ No newline at end of file
1.2.15
\ No newline at end of file
1.2.16
\ 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