--- a/src/pyams_form/interfaces/templates/form.pt Fri Jun 15 18:17:32 2018 +0200
+++ b/src/pyams_form/interfaces/templates/form.pt Wed Jun 20 18:14:23 2018 +0200
@@ -69,7 +69,8 @@
data-ams-checker-readonly 'readonly' if group.checkbox_widget.mode == 'display' else None;
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-checker-state group.checker_state;
+ data-ams-data extension:object_data(group);">
<label tal:content="legend">Legend</label>
</legend>
</tal:if>
--- a/src/pyams_form/interfaces/templates/inner-form.pt Fri Jun 15 18:17:32 2018 +0200
+++ b/src/pyams_form/interfaces/templates/inner-form.pt Wed Jun 20 18:14:23 2018 +0200
@@ -53,7 +53,8 @@
data-ams-checker-readonly 'readonly' if group.checkbox_widget.mode == 'display' else None;
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-checker-state group.checker_state;
+ data-ams-data extension:object_data(group);">
<label tal:content="legend">Legend</label>
</legend>
</tal:if>
--- a/src/pyams_form/interfaces/templates/widget-form.pt Fri Jun 15 18:17:32 2018 +0200
+++ b/src/pyams_form/interfaces/templates/widget-form.pt Wed Jun 20 18:14:23 2018 +0200
@@ -48,7 +48,8 @@
data-ams-checker-readonly 'readonly' if group.checkbox_widget.mode == 'display' else None;
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-checker-state group.checker_state;
+ data-ams-data extension:object_data(group);">
<label tal:content="legend">Legend</label>
</legend>
</tal:if>