search for: comment_types

Displaying 1 result from an estimated 1 matches for "comment_types".

Did you mean: comment_type
2007 Jul 09
5
Color coding table rows depending on an attribute
...own selection. I figured the simplest way would be to do something like I have below, but I can''t seem to get it to work: <tr <%= puts ''"style = "background: red;"'' if comment.comment_type == ''Hiring Process'' %> > I have 4-5 comment_types that need coloring, so I''ll probably move this into a helper when I''m finished using some form of, if comment_type == ''Hiring Process'' puts "style = ''background: red;''" elsif comment_type == ''Job Title Change'' puts &...