View file
<%= form.text_area :day, placeholder: "day" %>
** Change from text_area to datetime_field. ** **
View file
<%= form.datetime_field :day, placeholder: "day" %>
You may think that it is difficult to describe before the change, but In fact, you can do it just by changing the description a little! !! Please try it.
Recommended Posts