lundi 12 janvier 2015

Build select date and year inputs with simple_form


Vote count:

0




In my Ruby on Rails application I have some form that needs inputs to select month and year. I do this with built in Rails select_date input:



= select_date @date, :order => [ :month, :year], :discard_day => true


But now I want to know is there any way to the same easy with simple_form?



asked 40 secs ago







Build select date and year inputs with simple_form

Aucun commentaire:

Enregistrer un commentaire