From 4af0860542624f885df2fa6d1ca6145feddd9f31 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 9 Aug 2010 11:34:36 -0700 Subject: [PATCH] [#4178] Zebra stripe deliverable table. --- app/views/contracts/show.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/contracts/show.html.erb b/app/views/contracts/show.html.erb index 129004f..a9306fb 100644 --- a/app/views/contracts/show.html.erb +++ b/app/views/contracts/show.html.erb @@ -96,8 +96,7 @@ <% resource.deliverables.each do |deliverable| %> - <%#= TODO: even/'' class %> - <% content_tag_for(:tr, deliverable, :class => 'click') do %> + <% content_tag_for(:tr, deliverable, :class => 'click ' + cycle('even','')) do %> <%= h format_date(deliverable.end_date) %> <%= h deliverable.short_type %> <%= h deliverable.title %>