equal
deleted
inserted
replaced
1515 cssclass = 'facetTitle' |
1515 cssclass = 'facetTitle' |
1516 if self.facet.allow_hide: |
1516 if self.facet.allow_hide: |
1517 cssclass += ' hideFacetBody' |
1517 cssclass += ' hideFacetBody' |
1518 w(u'<div class="%s" cubicweb:facetName="%s">%s</div>\n' % |
1518 w(u'<div class="%s" cubicweb:facetName="%s">%s</div>\n' % |
1519 (cssclass, xml_escape(self.facet.__regid__), title)) |
1519 (cssclass, xml_escape(self.facet.__regid__), title)) |
1520 w(u'<input name="%s" type="text" value="%s" />\n' % (facetid, self.value or u'')) |
1520 w(u'<input name="%s" type="text" value="%s" />\n' % ( |
|
1521 xml_escape(self.facet.__regid__), self.value or u'')) |
1521 w(u'</div>\n') |
1522 w(u'</div>\n') |
1522 |
1523 |
1523 |
1524 |
1524 class FacetRangeWidget(htmlwidgets.HTMLWidget): |
1525 class FacetRangeWidget(htmlwidgets.HTMLWidget): |
1525 formatter = 'function (value) {return value;}' |
1526 formatter = 'function (value) {return value;}' |