Hi,
I''ve got a ''easy'' question. I have a formular with a
datetime field and
I want blank field with a white space - char because the normal way with
:include_blank is not w3c - conform. Has anyboy an idea?
I use this but it don''t fit:
<%= f.label :unpublished_on, "#{:unpublished_on.l}:" %>
<%= f.datetime_select :unpublished_on,
:use_month_numbers => true,
:minute_step => 15,
:include_blank => " ", # <-- this
one
:order => [:day, :month, :year]
%>
Regards, Eddy
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---