This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
grindable/app/views/fund/_fund_line.rhtml

14 lines
781 B
Plaintext
Raw Normal View History

2006-09-08 01:57:50 -04:00
<% @fund_counter ||= 0 -%>
<% if @fund_counter % 2 == 0 -%>
<tr id="line_<%= @fund.id -%>" class="even">
<% else -%>
<tr id="line_<%= @fund.id -%>" class="odd">
<% end -%>
<td align="center"><%= link_to image_tag('go-home-16.png', :alt => 'Use', :title => 'Use this fund'), { :action => 'use', :id => @fund.id }, :post => true -%></td>
<td align="center"><%= link_to image_tag('edit-delete-16.png', :alt => 'Delete', :title => 'Delete Fund'), { :action => 'delete', :id => @fund.id }, :post => true -%></td>
<td><strong><%= @fund.name -%></strong></td>
<td align="right"><%= display_amount @fund.balance -%></td>
<td align="right"><%= in_place_editor_field :fund, :contribution -%></td>
<td align="right"><%= @fund.baristas.size -%></td>
</tr>
<% @fund_counter += 1 -%>