I have the following html.erb code that I'm looking to move to Haml:
<span class="<%= item.dashboardstatus.cssclass %>" ><%= item.dashboardstatus.status %></span>
What it does is associate the CSS class of the currently assigned status to the span.
How is this done in Haml? I'm sure I'm missing something really simple.