Sha256: b5b362e374313b51c479a9b299bf767e9603d56c53ec23c6f892c96e0717f5e6

Contents?: true

Size: 296 Bytes

Versions: 7

Compression:

Stored size: 296 Bytes

Contents

##
# DateTimeInput
#
# Just renders a normal text field instead of trying to
# be a date selector. The date_time_input javascript will
# take care of filling it in.
#
class DateTimeInput < SimpleForm::Inputs::Base
  def input
    @builder.text_field(attribute_name, input_html_options)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
outpost-cms-0.1.3 app/inputs/date_time_input.rb
outpost-cms-0.1.2 app/inputs/date_time_input.rb
outpost-cms-0.1.1 app/inputs/date_time_input.rb
outpost-cms-0.1.0 app/inputs/date_time_input.rb
outpost-cms-0.0.5 app/inputs/date_time_input.rb
outpost-cms-0.0.4 app/inputs/date_time_input.rb
outpost-cms-0.0.3 app/inputs/date_time_input.rb