<h1>Listing sheet_years</h1>

<table>
  <tr>
    <th>Join type</th>
    <th>Gift year</th>
    <th>Benefactor</th>
    <th>Paid at</th>
    <th>Amount</th>
    <th>Payment type</th>
    <th>Bank</th>
    <th>Check number</th>
  </tr>

<% @sheet_years.each do |sheet_year| %>
  <tr>
    <td><%=h sheet_year.join_type %></td>
    <td><%=h sheet_year.gift_year %></td>
    <td><%=h sheet_year.benefactor %></td>
    <td><%=h sheet_year.paid_at %></td>
    <td><%=h sheet_year.amount %></td>
    <td><%=h sheet_year.payment_type %></td>
    <td><%=h sheet_year.bank %></td>
    <td><%=h sheet_year.check_number %></td>
    <td><%= link_to 'Show', sheet_year %></td>
    <td><%= link_to 'Edit', edit_sheet_year_path(sheet_year) %></td>
    <td><%= link_to 'Destroy', sheet_year, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New sheet_year', new_sheet_year_path %>