From e5323050eebfd9108553bcaa8fb1119bc19e22e0 Mon Sep 17 00:00:00 2001 From: hjust Date: Mon, 7 Sep 2009 10:09:47 +0000 Subject: [PATCH] Check syntax first! Check syntax first! Check syntax first! git-svn-id: https://dev.finn.de/svn/cockpit/trunk@100 7926756e-e54e-46e6-9721-ed318f58905e --- app/views/cost_types/_list.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cost_types/_list.rhtml b/app/views/cost_types/_list.rhtml index 3e0beaf6a8..c5ceb26a0a 100644 --- a/app/views/cost_types/_list.rhtml +++ b/app/views/cost_types/_list.rhtml @@ -21,7 +21,7 @@ <%= content_tag :td, cost_type.unit %> <%= content_tag :td, cost_type.unit_plural %> <% rate = cost_type.rate_at(@fixed_date) %> - <%= content_tag :td, number_to_currency( rate ? rate.rate | 0.0), :class => "currency", :id => "cost_type_#{cost_type.id}_rate"%> + <%= content_tag :td, number_to_currency( rate ? rate.rate : 0.0), :class => "currency", :id => "cost_type_#{cost_type.id}_rate"%> <% form_for :cost_type, cost_type, :url => { :controller => 'cost_types', :action => 'set_rate', :id => cost_type } do |f| %> <%= f.text_field :rate, :value => "", :name => :rate, :size => 7 %> <%= Setting.plugin_redmine_costs['costs_currency'] %>