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