From d44b6a0a01f8bb0596718fe328c407a39e030395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 23 May 2017 09:34:08 +0200 Subject: [PATCH] Add filter label title [ci skip] --- lib/widget/filters/label.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/widget/filters/label.rb b/lib/widget/filters/label.rb index dec518723b..60a27cd617 100644 --- a/lib/widget/filters/label.rb +++ b/lib/widget/filters/label.rb @@ -24,7 +24,8 @@ class Widget::Filters::Label < Widget::Filters::Base def render options = { id: filter_class.underscore_name, - class: 'advanced-filters--filter-name' + class: 'advanced-filters--filter-name', + title: h(filter_class.label) } write(content_tag(:label, options) do h(filter_class.label)