
February 6th, 2012, 01:49 PM
|
|
Registered User
|
|
Join Date: Feb 2012
Posts: 1
Time spent in forums: 6 m 17 sec
Reputation Power: 0
|
|
|
How do I put a blank space in a select box?
I am trying to put a blank space for a death date of an author. The author is not dead
Code:
<div class="field">
<%= f.label :death_date %><br />
<%= f.date_select :death_date,
:start_year => 1800,
:end_year => (Time.now.year+2) %>
</div>
|