HAML question - conditional multiple classes on a div

I am looking into HAML and am trying to convert one of my ERB templates to see what I think of it. Everything was going pretty well until I got to the following snippet:

">

<%= h(t.description)%>

How would you do this in HAML? (I know how to do the middle line)

Thanks in advance,

Alan

It works pretty much the same way:

%div{:class => t.done ? "task done" : "task"}
   %p.title= h(t.description)

Check out the Haml Google Group: http://groups.google.com/group/haml

Thanks!!