Sharagoz -- wrote:
> So you want to be able to set a differnt style to cells that are empty.
> You can do something like:
> 
> In the view:
> <td<%= ' class="empty"' if(list.commm.blank?) %>>
>   <%=h list.comm %>
> </td>
> 
> In the css:
> 
> .list-line-even.empty, .list-line-even1.empty {
>   color: #F00;
> }

THANKS WORKS !!
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to