summaryrefslogtreecommitdiffstats
path: root/app/views/account
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-06 09:08:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-06 09:08:17 +0000
commit979892a109bd298cec45258bc4b2b91c8fe676cb (patch)
tree8cd489cc3129cd636b0361796747a80889a22b0b /app/views/account
parent776d5ce554cdf0229c0a90fae0321e3506a5d849 (diff)
downloadredmine-979892a109bd298cec45258bc4b2b91c8fe676cb.tar.gz
redmine-979892a109bd298cec45258bc4b2b91c8fe676cb.zip
calendar javascripts and stylesheets removed from base layout. they're now only added to html header when needed.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@151 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/account')
-rw-r--r--app/views/account/register.rhtml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/account/register.rhtml b/app/views/account/register.rhtml
index b34aff79c..3101bd5df 100644
--- a/app/views/account/register.rhtml
+++ b/app/views/account/register.rhtml
@@ -37,3 +37,10 @@
<%= submit_tag l(:button_submit) %>
<%= end_form_tag %>
+
+<% content_for :header_tags do %>
+<%= javascript_include_tag 'calendar/calendar' %>
+<%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
+<%= javascript_include_tag 'calendar/calendar-setup' %>
+<%= stylesheet_link_tag 'calendar' %>
+<% end %>