Sha256: 09adf32510490d59f41c779d5be279d03547186a4fd8e065a2a8e36b702a216c
Contents?: true
Size: 502 Bytes
Versions: 5
Compression:
Stored size: 502 Bytes
Contents
# encoding: UTF-8 module Wice class ViewColumnBoolean < ViewColumnCustomDropdown #:nodoc: include ActionView::Helpers::FormOptionsHelper attr_accessor :boolean_filter_true_label, :boolean_filter_false_label def render_filter_internal(params) #:nodoc: @custom_filter = { @filter_all_label => nil, @boolean_filter_true_label => 't', @boolean_filter_false_label => 'f' } @turn_off_select_toggling = true super(params) end end end
Version data entries
5 entries across 5 versions & 1 rubygems