Remove "data-ams-data" attributes from label wrapping widgets
authorThierry Florac <thierry.florac@onf.fr>
Tue, 16 May 2017 11:17:24 +0200
changeset 24 ed726ebbad4b
parent 23 70720c9f56c9
child 25 b233892afe9a
Remove "data-ams-data" attributes from label wrapping widgets
src/pyams_portal/zmi/templates/portlet.pt
--- a/src/pyams_portal/zmi/templates/portlet.pt	Tue Nov 15 10:26:24 2016 +0100
+++ b/src/pyams_portal/zmi/templates/portlet.pt	Tue May 16 11:17:24 2017 +0200
@@ -114,7 +114,6 @@
 											<div tal:attributes="class widget.input_css_class | group.input_css_class | view.input_css_class">
 												<label class="input"
 													   tal:attributes="class widget.widget_css_class | default;
-																	   data-ams-data extension:object_data(widget);
 																	   data-ams-form-validator view.get_widget_callback(widget.field.getName())">
 													<input tal:replace="structure widget.render()" />
 												</label>