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/barista/_barista.rhtml

11 lines
371 B
Plaintext

<% @fund_counter ||= 0 -%>
<% if @fund_counter % 2 == 0 -%>
<tr id="line_<%= barista.id -%>" class="even">
<% else -%>
<tr id="line_<%= barista.id -%>" class="odd">
<% end -%>
<td><%= barista.name -%></td>
<td align="center"><%= barista.fund.name rescue 'None' -%></td>
<td align="center"><%= display_date barista.created_on -%></td>
</tr>
<% @fund_counter += 1 -%>