[Rails] trying to create a schedule select field so users can only select date time greater than now
Ruby on Rails
Tuesday, December 1, 2015
this is the way i have my select without the feature i haven't attempted to add the feature because i don't know what method that would be
<%= f.datetime_select :start_time, discard_year: true %>
-- <%= f.datetime_select :start_time, discard_year: true %>
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f77a884f-a6dd-4ec1-9035-4e4b3066812d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment