src/pyams_gis/zmi/widget/templates/geopoint-input.pt
changeset 62 2c4dc7ef5ccb
parent 59 e76424bd0bf4
child 68 b0a03a00c83e
equal deleted inserted replaced
61:b47c3b6eacd0 62:2c4dc7ef5ccb
    63 					<label class="control-label col-md-3"
    63 					<label class="control-label col-md-3"
    64 						   tal:attributes="class widget/label_css_class | group/label_css_class | view/label_css_class | default">
    64 						   tal:attributes="class widget/label_css_class | group/label_css_class | view/label_css_class | default">
    65 						<span>
    65 						<span>
    66 							<tal:var content="python:request.localizer.translate(widget.label)" />
    66 							<tal:var content="python:request.localizer.translate(widget.label)" />
    67 							<i class="fa fa-question-circle hint" title="Input hint"
    67 							<i class="fa fa-question-circle hint" title="Input hint"
    68 							   tal:define="description python:getattr(widget, 'description', widget.field.description)"
    68 							   tal:define="description python:getattr(widget, 'description', None) or widget.field.description"
    69 							   tal:condition="description"
    69 							   tal:condition="description"
    70 							   tal:attributes="title description;
    70 							   tal:attributes="title description;
    71 											   data-ams-hint-html python:'<' in description;"></i>
    71 											   data-ams-hint-html python:'<' in description;"></i>
    72 						</span>
    72 						</span>
    73 					</label>
    73 					</label>