class DatepickerInput < SimpleForm::Inputs::StringInput
  def input(wrapper_options = nil)
    input_html_options[:data] ||= {}
    input_html_options[:data][:datepicker] = true

    super
  end
end

class DatepickerInput < SimpleForm::Inputs::StringInput
  def input(wrapper_options = nil)
    placeholder = options.delete(:placeholder) || 'Click to choose a date'

    input_html_options[:data] ||= {}
    input_html_options[:data][:datepicker] = true
    input_html_options[:placeholder] = placeholder

    super
  end
end

Add placholder text to date inputs
Add placholder text to date inputs
