summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-31 21:48:01 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-31 21:48:01 +0000
commit68fe7856c9218d0bfa5c4cf468e7120cf2c964d4 (patch)
treee0ff2e92047667b8161b89bb5c39a49cb90bdf52 /app/views/versions
parent0d9e4196463b5cacc103186f888097b6189f58d5 (diff)
downloadredmine-68fe7856c9218d0bfa5c4cf468e7120cf2c964d4.tar.gz
redmine-68fe7856c9218d0bfa5c4cf468e7120cf2c964d4.zip
Move repetitive calendar include code from views into helper (patch #966 by Peter Suschlik).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1315 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/_form.rhtml7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/views/versions/_form.rhtml b/app/views/versions/_form.rhtml
index e18f912bf..adc83b573 100644
--- a/app/views/versions/_form.rhtml
+++ b/app/views/versions/_form.rhtml
@@ -6,10 +6,3 @@
<p><%= f.text_field :wiki_page_title, :label => :label_wiki_page, :size => 60, :disabled => @project.wiki.nil? %></p>
<p><%= f.text_field :effective_date, :size => 10 %><%= calendar_for('version_effective_date') %></p>
</div>
-
-<% 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 %>