Add filter label title

[ci skip]
pull/6827/head
Oliver Günther 8 years ago
parent 8d91716358
commit d44b6a0a01
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 3
      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)

Loading…
Cancel
Save