Date_tag?

Hi-

I have used helpers like text_field_tag when creating non-model forms
and I would like to build a form that searches by date, also non-
model.

Is there such thing as datetime_tag, or something similiar?

Thanks for you suggestions!

On 14 Jan 2008, at 15:20, pete wrote:

Hi-

I have used helpers like text_field_tag when creating non-model forms
and I would like to build a form that searches by date, also non-
model.

Is there such thing as datetime_tag, or something similiar?

select_date etc… ?

Fred

And you can use this in ad-hoc type forms that are not related to any
particular model?

Thanks.

On Jan 14, 8:23 am, Frederick C. [email protected]

On 14 Jan 2008, at 15:28, pete wrote:

And you can use this in ad-hoc type forms that are not related to any
particular model?

Yes. date_select & friends are the ones that assume the instance
variable convention

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs