# Problem with include\_blank

**URL:** <https://www.ruby-forum.com/t/problem-with-include-blank/142124>\
**Category:** Rails\
**Created:** [July 3, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/problem-with-include-blank/142124 "2008-07-03T17:58:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddy\_b](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c68b51/32.png) [@eddy\_b](https://www.ruby-forum.com/u/eddy_b)\
**Post date:** [July 3, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/problem-with-include-blank/142124/1 "2008-07-03T17:58:31Z")

</div>

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 =\> "&nbsp;", # \<-- this one  
:order =\> [:day, :month, :year]  
%\>

Regards, Eddy
