Commit 115659f3 authored by Sebastien Robin's avatar Sebastien Robin

added update button when needed


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@619 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f73285b5
......@@ -129,6 +129,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
tal:attributes="value previous_form_id">
<input type="Submit" value="Cancel" name="base_cancel:method"
/>&nbsp;
<span tal:condition="python: form.update_action!=''">
<input type="hidden" name="update_method" value="cancel_url"
tal:attributes="value python: form.update_action"/>
<input type="Submit" value="Update"
name="base_update_dialog:method"/>
</span>
<input type="Submit" value="Search"
name="base_dialog:method"
tal:attributes="value form/title"/>
......
......@@ -130,6 +130,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
tal:attributes="value previous_form_id">
<input type="Submit" value="Cancel" name="base_cancel:method"
/>&nbsp;
<span tal:condition="python: form.update_action!=''">
<input type="hidden" name="update_method" value="cancel_url"
tal:attributes="value python: form.update_action"/>
<input type="Submit" value="Cancel"
name="base_view_update_dialog:method"
tal:attributes="value request/button_title|form/title"/>
</span>
<input type="Submit" value="Search"
name="base_view_dialog:method"
tal:attributes="value request/button_title|form/title"/>
......
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