Commit dbfcfc38 authored by Yoshinori Okuji's avatar Yoshinori Okuji

2010-02-22 yo

* Stop form_render from relying on the type of editable_mode (i.e. int).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32900 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 750fe6bd
......@@ -79,8 +79,7 @@ It is possible to specify a group id and a group title by naming a group followi
<tal:block tal:repeat="group group_list">\n
<tal:block tal:define="gid group/gid;">\n
<fieldset tal:condition="python: gid.find(\'hidden\') &lt; 0"\n
tal:attributes="class python:gid + \n
(\' editable\' * request.get(\'editable_mode\', 0) or \' viewable\');\n
tal:attributes="class python:gid + test(request.get(\'editable_mode\', 0), \' editable\', \'viewable\');\n
id python: \'fieldset_%s\' % (gid.replace(\' \', \'_\'), );">\n
<legend i18n:translate="" i18n:domain="ui" tal:condition="group/gtitle" tal:content="group/gtitle" class="group_title"></legend>\n
<tal:block tal:repeat="field python: form.get_fields_in_group(group[\'goid\'])">\n
......
2010-02-22 yo
* Stop form_render from relying on the type of editable_mode (i.e. int).
2010-02-02 yo
* Add classes into buttons defined in dialog_main.
......
902
\ No newline at end of file
903
\ 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