Sha256: e436265ffbaff758a02b7cea505becf69a67d802e2c1f7df088c7dce19f99076
Contents?: true
Size: 491 Bytes
Versions: 1
Compression:
Stored size: 491 Bytes
Contents
module ActiveAdmin module Inputs module Filters class DateTimeRangeInput < DateRangeInput include Base include ActiveAdminDatetimepicker::Base def input_html_options(input_name = gt_input_name) super.tap do |options| options[:class] = html_class end end def gt_input_name "#{method}_gteq" end def lt_input_name "#{method}_lteq" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_admin_datetimepicker-0.5.0 | lib/active_admin_datetimepicker/inputs/filters/date_time_range_input.rb |