Added "warnOnChange" property to handle warnings on form change
authorThierry Florac <thierry.florac@onf.fr>
Tue, 23 Sep 2014 17:18:00 +0200
changeset 68 f44c1c98e570
parent 67 c402a9efda6a
child 69 2d1a5b73a944
Added "warnOnChange" property to handle warnings on form change
src/ztfy/myams/templates/forms/form.pt
--- a/src/ztfy/myams/templates/forms/form.pt	Tue Sep 23 17:17:38 2014 +0200
+++ b/src/ztfy/myams/templates/forms/form.pt	Tue Sep 23 17:18:00 2014 +0200
@@ -27,7 +27,8 @@
 							  class view/css_class;
 							  data-ams-data view/myams:data;
 							  data-ams-form-handler view/handler;
-							  data-ams-form-options view/getFormOptions;">
+							  data-ams-form-options view/getFormOptions;
+							  data-ams-warn-on-change view/warnOnChange;">
 			<div class="modal-viewport">
 				<fieldset>
 					<legend tal:define="legend view/legend"