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'' %> <!--[form: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> <!--[eoform:t1]--> 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 -- Posted via http://www.ruby-forum.com/.
Peter Aszkenasy
2006-May-28 14:04 UTC
[Rails] Re: Bundled Resource 0.9 dynarch_date_select
I''ve included the following in my assoicated layout file and it now seems to work! <html> <head> <title>T1s: <%= controller.action_name %></title> <%= stylesheet_link_tag ''scaffold'' %> <%= javascript_include_tag :defaults %> <%= stylesheet_auto_link_tags %> <%= javascript_auto_include_tags %> </head> <body> <p style="color: green"><%= flash[:notice] %></p> <%= @content_for_layout %> </body> </html> Anybody else had similar experiences? -- Posted via http://www.ruby-forum.com/.