| <%= h format_date(rate.date_in_effect) %> |
<% if rate.project %>
<%= link_to(h(rate.project), :controller => 'projects', :action => 'show', :id => rate.project) %>
<% else %>
<%= l(:rate_label_default) %>
<% end %>
|
<%= h rate.amount %> |
<% if rate.unlocked? %>
<%= link_to image_tag('edit.png'), edit_rate_path(rate, :back_url => @back_url) %>
<%= link_to image_tag('delete.png'), rate_path(rate, :back_url => @back_url), :method => :delete, :confirm => l(:text_are_you_sure) %>
<% else %>
<%= image_tag('locked.png') %>
<% end %>
|