equal
deleted
inserted
replaced
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> |