allow for giving submit button a name defined by the view
This commit is contained in:
parent
21b3795227
commit
2c474bf3a6
1 changed files with 2 additions and 1 deletions
|
@ -313,7 +313,8 @@
|
||||||
<metal:buttons define-slot="buttons">
|
<metal:buttons define-slot="buttons">
|
||||||
<input value="Save" type="submit"
|
<input value="Save" type="submit"
|
||||||
i18n:attributes="value"
|
i18n:attributes="value"
|
||||||
tal:attributes="onClick python: view.closeAction(True) or
|
tal:attributes="value view/label_submit | string:Save;
|
||||||
|
onClick python: view.closeAction(True) or
|
||||||
'submit();; return false'">
|
'submit();; return false'">
|
||||||
<input type="button" value="Cancel" onClick="dlg.hide();"
|
<input type="button" value="Cancel" onClick="dlg.hide();"
|
||||||
i18n:attributes="value"
|
i18n:attributes="value"
|
||||||
|
|
Loading…
Add table
Reference in a new issue