railsfrance/railsfrance.org — Issue #24: [events#index] change color of date 'aside' if event is past
Author: Sush
Created: 2011-12-12 20:26:51+00:00
State: open
Labels: Integration

Change the date aside color :

- past date = red
- future date = blue

Here the condition in the view :

```ruby
- if event.date > Time.now
blue
- else
red
```