Displaying 4 results from an estimated 4 matches for "javascript_auto_include_tags".
2006 Jan 03
1
RequireResourceHelper for JS and CSS
...saw from Demetrius Nunes.
To use it, put the following in your application.rb:
class ApplicationController < ActionController::Base
helper ''require_resource''
end
Then in my layout''s HTML "head" section:
<%= stylesheet_auto_link_tags %>
<%= javascript_auto_include_tags %>
Supposing I am writing an action for WelcomeController called
''index.rhtml'', (and that each of the files actually exists), I can
now assume that this HTML will be present in the layout:
<script src="/javascripts/welcome.js" type="text/javascript"...
2006 May 28
1
Bundled Resource 0.9 dynarch_date_select
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
2006 Jan 20
13
Calendar date picker for use with rails.
Howdy folks,
As I was putting together a rough form for a rails app, I got to
thinking how much smoother (in my siytuation) a little calendar widget
would be than the default date picker selects.
Does anyone know if such a thing exists ?
I suspect it would have to be somewhat designed with rails in mind to
populate the right kind of post params for convenient use at the
controller end.
2006 Jan 27
20
bundled_resource v.0.9
Original announcement at http://blog.inquirylabs.com/ [1]
== What is bundled_resource? ==
If your development is in any way similar to mine, there are a number
of useful resources out there that make web applications shine
beautifully. For example, there?s the Dynarch calendar and the
textarea tools. There are a number of others?too many, in fact. The
problem is that as a web developer,