# HG changeset patch # User Thierry Florac # Date 1531136422 -7200 # Node ID c915b68a4a52a334095205c6f479b3dd8514fc60 # Parent 3defe3953276b4ffa729bff52823117a28f799ab Renamed TALES extension diff -r 3defe3953276 -r c915b68a4a52 src/pyams_form/interfaces/templates/form.pt --- a/src/pyams_form/interfaces/templates/form.pt Mon Jul 02 08:49:41 2018 +0200 +++ b/src/pyams_form/interfaces/templates/form.pt Mon Jul 09 13:40:22 2018 +0200 @@ -10,7 +10,7 @@ @@ -34,7 +34,7 @@ accept view.accept; autocomplete view.autocomplete; class view.css_class; - data-ams-data extension:object_data(view); + data-ams-data tales:object_data(view); data-ams-form-handler view.get_ajax_handler() | nothing; data-ams-form-options view.get_form_options() | nothing; data-ams-form-submit-target view.form_target | nothing; @@ -70,7 +70,7 @@ data-ams-checker-mode 'disable' if group.checkbox_mode == 'disable' else None; data-ams-checker-marker '{0}-empty-marker'.format(group.checkbox_widget.name); data-ams-checker-state group.checker_state; - data-ams-data extension:object_data(group);"> + data-ams-data tales:object_data(group);"> @@ -83,7 +83,7 @@
+ tal:content="structure tales:html(i18n_help)">
+ data-ams-data tales:object_data(group);"> @@ -62,7 +62,7 @@
+ tal:content="structure tales:html(i18n_help)">

-
+
diff -r 3defe3953276 -r c915b68a4a52 src/pyams_form/widget/templates/action-display.pt --- a/src/pyams_form/widget/templates/action-display.pt Mon Jul 02 08:49:41 2018 +0200 +++ b/src/pyams_form/widget/templates/action-display.pt Mon Jul 09 13:40:22 2018 +0200 @@ -1,6 +1,6 @@ diff -r 3defe3953276 -r c915b68a4a52 src/pyams_form/widget/templates/action-input.pt --- a/src/pyams_form/widget/templates/action-input.pt Mon Jul 02 08:49:41 2018 +0200 +++ b/src/pyams_form/widget/templates/action-input.pt Mon Jul 09 13:40:22 2018 +0200 @@ -1,6 +1,6 @@ diff -r 3defe3953276 -r c915b68a4a52 src/pyams_form/widget/templates/button-input.pt --- a/src/pyams_form/widget/templates/button-input.pt Mon Jul 02 08:49:41 2018 +0200 +++ b/src/pyams_form/widget/templates/button-input.pt Mon Jul 09 13:40:22 2018 +0200 @@ -31,5 +31,5 @@ accesskey view/accesskey; onselect view/onselect; data-loading-text string:${value}...; - data-ams-data extension:object_data(view);" + data-ams-data tales:object_data(view);" tal:content="value"> diff -r 3defe3953276 -r c915b68a4a52 src/pyams_form/widget/templates/close-input.pt --- a/src/pyams_form/widget/templates/close-input.pt Mon Jul 02 08:49:41 2018 +0200 +++ b/src/pyams_form/widget/templates/close-input.pt Mon Jul 09 13:40:22 2018 +0200 @@ -30,6 +30,6 @@ alt view/alt; accesskey view/accesskey; onselect view/onselect; - data-ams-data extension:object_data(view);" + data-ams-data tales:object_data(view);" data-dismiss="modal" tal:content="value"> diff -r 3defe3953276 -r c915b68a4a52 src/pyams_form/widget/templates/orderedselect-input.pt --- a/src/pyams_form/widget/templates/orderedselect-input.pt Mon Jul 02 08:49:41 2018 +0200 +++ b/src/pyams_form/widget/templates/orderedselect-input.pt Mon Jul 09 13:40:22 2018 +0200 @@ -32,7 +32,7 @@ onchange view/onchange; multiple view/multiple; size view/size; - data-ams-data extension:object_data(view);"> + data-ams-data tales:object_data(view);">