Sha256: 3f6242e6d345bbe475e22fe0d036ae630c1dd17f5ec60a7e11f9e317cddd40b0

Contents?: true

Size: 527 Bytes

Versions: 17

Compression:

Stored size: 527 Bytes

Contents

class SimpleDateSelectInput < FormtasticBootstrap::Inputs::DateSelectInput

  include Formtastic::Inputs::Base
  include FormtasticBootstrap::Inputs::Base::Labelling
  include FormtasticBootstrap::Inputs::Base::Wrapping
  include FormtasticBootstrap::Inputs::Base::Errors
  include FormtasticBootstrap::Inputs::Base::Hints
  
  def to_html
    generic_input_wrapping do      
       builder.date_select(method, {:start_year => 100.years.ago.year, :include_blank => true}, {:class => "datetime-selector"})
    end
  end
  
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fullstack-cms-0.3.27 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.26 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.25 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.24 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.23 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.22 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.21 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.20 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.19 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.18 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.17 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.16 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.15 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.14 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.13 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.12 app/inputs/simple_date_select_input.rb
fullstack-cms-0.3.11 app/inputs/simple_date_select_input.rb