Set 'python:' handler in hint attribute
authorThierry Florac <thierry.florac@onf.fr>
Thu, 18 May 2017 17:20:58 +0200
changeset 49 db0a295acba3
parent 48 13a0658bdc9c
child 50 b891b49b1d3f
Set 'python:' handler in hint attribute
src/pyams_form/widget/templates/object-subform.pt
--- a/src/pyams_form/widget/templates/object-subform.pt	Tue May 16 11:11:32 2017 +0200
+++ b/src/pyams_form/widget/templates/object-subform.pt	Thu May 18 17:20:58 2017 +0200
@@ -15,7 +15,7 @@
 							   tal:define="description python:getattr(widget, 'description', widget.field.description)"
 							   tal:condition="description"
 							   tal:attributes="title description;
-											   data-ams-hint-html '<' in description;"></i>
+											   data-ams-hint-html python:'<' in description;"></i>
 						</span>
 					</label>
 					<div class="col-md-9"