summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-19 20:20:18 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-19 20:20:18 +0000
commit0a05da4f332ae1f2514c2f795336881c69793e2b (patch)
tree7b757451d3a900039cb96a970a2401ea08c2f91f /app/views/custom_fields
parent8769eb53bc7b5a7e72421e20564066e59c5bda1d (diff)
downloadredmine-0a05da4f332ae1f2514c2f795336881c69793e2b.tar.gz
redmine-0a05da4f332ae1f2514c2f795336881c69793e2b.zip
Removed calls to deprecated Object#type.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6297 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r--app/views/custom_fields/edit.rhtml2
-rw-r--r--app/views/custom_fields/new.rhtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/custom_fields/edit.rhtml b/app/views/custom_fields/edit.rhtml
index d8a94a955..2790c2c9e 100644
--- a/app/views/custom_fields/edit.rhtml
+++ b/app/views/custom_fields/edit.rhtml
@@ -1,5 +1,5 @@
<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
- &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
+ &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %>
&#187; <%=h @custom_field.name %></h2>
<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %>
diff --git a/app/views/custom_fields/new.rhtml b/app/views/custom_fields/new.rhtml
index e626ac4d6..85f6ef53e 100644
--- a/app/views/custom_fields/new.rhtml
+++ b/app/views/custom_fields/new.rhtml
@@ -1,5 +1,5 @@
<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
- &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
+ &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %>
&#187; <%= l(:label_custom_field_new) %></h2>
<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %>