# Where are date\_select\_tag?

**URL:** <https://www.ruby-forum.com/t/where-are-date-select-tag/188193>\
**Category:** Rails\
**Created:** [May 7, 2010, 12:08pm UTC](https://www.ruby-forum.com/t/where-are-date-select-tag/188193 "2010-05-07T12:08:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![k-b](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/db5fbb/32.png) [@k-b](https://www.ruby-forum.com/u/k-b)\
**Post date:** [May 7, 2010, 12:08pm UTC](https://www.ruby-forum.com/t/where-are-date-select-tag/188193/1 "2010-05-07T12:08:33Z")

</div>

Hi!  
I want a date\_select\_tag inside a form\_tag

But it does not work!

I looked for the docs at:

> **[rails.info](http://api.rails.info/classes/ActionView/Helpers/DateHelper.html#M002208)**
>
> Ruby on Rails,Rails Tutorial,Ruby Basics,Rails 4,Bar Rails,Rail

And even, if I copy the code right inside - there are an error!

ActionView::Template::Error (can’t convert Symbol into String) on line  
#30 of /Users/kb1/code/rails/rateurdate/app/views/miniprofile/  
meantimes/show\_birthdate.fbml.erb:  
27:

# t(‘miniprofile.meantimes.show\_birthdate.headline’\<br /

> \<%=  
> t(‘miniprofile.meantimes.show\_postcode.subtitle’) %\>

  
28: \<% form\_tag meantime\_miniprofile\_url(:type  
=\> :birthdate), :method =\> :post do |f| %\>  
29:   
  
  
  
30: \<%= date\_select(“post”, “written\_on”) %\>  
31:   
  
  
  
32:   
  
33:   

```
app/views/miniprofile/meantimes/show_birthdate.fbml.erb:30:in

```

`block in _render_template__2824634172748094325_2184188140_3813724702546118430' app/views/miniprofile/meantimes/show_birthdate.fbml.erb:28:in `\_render\_template\_\_2824634172748094325\_2184188140\_3813724702546118430’  
app/controllers/miniprofile/meantimes\_controller.rb:10:in `show’

This is the whole code:  
\<% form\_tag meantime\_miniprofile\_url(:type =\> :birthdate), :method  
=\> :post do |f| %\>  
  
  
  
  
\<%= date\_select(“post”, “written\_on”) %\>

  
\<%= image\_submit\_tag “btn-weiter.png” %\>  

```
<% end -%>

```
