Sha256: a6611ba080c4316e1d8cecd0835009e11e966642696908a71ae88c26fd784d03
Contents?: true
Size: 423 Bytes
Versions: 9
Compression:
Stored size: 423 Bytes
Contents
module ActiveAdmin module Inputs class FilterSelectInput < ::Formtastic::Inputs::SelectInput include FilterBase def input_name "#{super}_eq" end def input_options super.merge(:include_blank => I18n.t('active_admin.any')) end def method super.to_s.gsub('_id','').to_sym end def extra_input_html_options {} end end end end
Version data entries
9 entries across 9 versions & 2 rubygems