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
pull/6827/head
hjust 15 years ago
parent 384d1e1dd8
commit e5323050ee
  1. 2
      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"%>
<td>
<% 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'] %>

Loading…
Cancel
Save