Forum: Ruby on Rails Bundled Resource 0.9 dynarch_date_select

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Peter A. (Guest)
on 2006-05-28 17:39
I'm new to rails and and am trying to incorporated dynarch_date_select
in my application. I'm using Rails 1.1.2 with Bundled Resource 0.9. I'm
trying the following test:-

<% require_bundle :dynarch_calendar %>
<%= error_messages_for 't1' %>
<p><label for="t1_start_date">Start date</label><br/>
<%= dynarch_date_select 't1', 'start_date' %></p>

<p><label for="t1_description">Description</label><br/>
<%= text_field 't1', 'description'  %></p>

But all I keep getting in Firefox is the standard rails date selector
and not the nice calendar widget. Has anyone got this working with the
latest version of rails? And if so, how please?

Many thanks in advance
Peter A. (Guest)
on 2006-05-28 18:01
I've included the following in my assoicated layout file and it now
seems to work!

  <title>T1s: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold' %>
  <%= javascript_include_tag :defaults %>
  <%= stylesheet_auto_link_tags %>
  <%= javascript_auto_include_tags %>

<p style="color: green"><%= flash[:notice] %></p>

<%= @content_for_layout %>


Anybody else had similar experiences?
This topic is locked and can not be replied to.