From a7128fc15bd23b8d300cd70c5b3f7c84d6395029 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Tue, 14 Sep 2010 14:24:55 -0700 Subject: [PATCH] [#4507] Use show_budget_field for billable rate so it's in 3 columns. (using nil hack) --- app/views/contracts/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/contracts/show.html.erb b/app/views/contracts/show.html.erb index 16faae0..f17086d 100644 --- a/app/views/contracts/show.html.erb +++ b/app/views/contracts/show.html.erb @@ -55,7 +55,7 @@ <%= show_budget_field(resource, :total_spent, :total_budget, :format => :format_value_field_for_contracts, :html_options => {:class => 'contract-total'}) %> - <%= show_field(resource, :billable_rate, :format => :format_hourly_rate, :html_options => {:class => 'contract-billable-rate total'}) %> + <%= show_budget_field(resource, :billable_rate, 'nil?', :format => :format_hourly_rate, :html_options => {:class => 'contract-billable-rate total'}) %> <%= show_budget_field(resource, :estimated_hour_spent, :estimated_hour_budget, :format => :l_hours, :html_options => {:class => 'contract-estimated-hour total'}) %>