Commit b4fc95ef authored by Yusei Tahara's avatar Yusei Tahara

2007-08-24 Yusei

* Not to display Cancel Action button when cancel_url is nothing.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15804 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f90c815a
...@@ -95,7 +95,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -95,7 +95,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<tal:block metal:define-slot="main" />\n <tal:block metal:define-slot="main" />\n
<tal:block metal:define-slot="bottom" />\n <tal:block metal:define-slot="bottom" />\n
</div>\n </div>\n
<input i18n:attributes="value" i18n:domain="ui" value="Cancel Action"\n <input tal:condition="cancel_url|request/cancel_url|nothing"\n
i18n:attributes="value" i18n:domain="ui" value="Cancel Action"\n
id="dialog_cancel_button" name="Base_cancel:method" type="submit" />\n id="dialog_cancel_button" name="Base_cancel:method" type="submit" />\n
<input i18n:attributes="value" i18n:domain="ui" value="Update"\n <input i18n:attributes="value" i18n:domain="ui" value="Update"\n
tal:condition="python: form.update_action!=\'\'"\n tal:condition="python: form.update_action!=\'\'"\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