Skip to content

Instantly share code, notes, and snippets.

@waseem
Created November 2, 2012 15:47
Show Gist options
  • Save waseem/4002154 to your computer and use it in GitHub Desktop.
Save waseem/4002154 to your computer and use it in GitHub Desktop.
- options = { :as => :string, :label => false }
= f.input :date_start, options.merge(:placeholder => "Start Date")
= f.input :time_start, options.merge(:placeholder => "Start Time")
= f.input :date_end, options.merge(:placeholder => "End Date")
= f.input :time_end, options.merge(:placeholder => "End Time")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment