Updated portlet edit form template
authorThierry Florac <thierry.florac@onf.fr>
Tue, 28 Aug 2018 09:41:52 +0200
changeset 164 9d3f818d001d
parent 163 9e12eb044abf
child 165 c5e34981deac
Updated portlet edit form template
src/pyams_portal/zmi/templates/portlet.pt
--- a/src/pyams_portal/zmi/templates/portlet.pt	Mon Aug 27 18:01:03 2018 +0200
+++ b/src/pyams_portal/zmi/templates/portlet.pt	Tue Aug 28 09:41:52 2018 +0200
@@ -114,9 +114,9 @@
 												</span>
 											</label>
 											<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-form-validator view.get_widget_callback(widget.field.getName())">
+												<div class="input"
+													 tal:attributes="class widget.widget_css_class | default;
+																	 data-ams-form-validator view.get_widget_callback(widget.field.getName())">
 													<div tal:define="notice widget.before_widget_notice | nothing"
 														 tal:condition="notice"
 														 tal:content="structure notice">Notice</div>
@@ -124,7 +124,7 @@
 													<div tal:define="notice widget.after_widget_notice | nothing"
 														 tal:condition="notice"
 														 tal:content="structure notice">Notice</div>
-												</label>
+												</div>
 											</div>
 										</div>
 									</tal:if>