Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Formatting search fields (dates) #61

Open
gamov opened this issue Sep 16, 2011 · 0 comments
Open

Formatting search fields (dates) #61

gamov opened this issue Sep 16, 2011 · 0 comments

Comments

@gamov
Copy link

gamov commented Sep 16, 2011

Hello,
I'm doing something like this to keep the date format inline with the jQuery date picker:

ETD: From <%= f.text_field :shipment_booking_etd_gteq, {:readonly => '', :class => 'date_picker', :value => @search.shipment_booking_etd_gteq.try(:to_s,:db)} %>

Am I doing it right? It doesn't look very elegant...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant