styles using the if-less if statement if it worked

I have this in_place_editor_field that I have the text showing up as
red
if it contains a certain string such as 'Click to Edit'

<%= in_place_editor_field 'user','w_cell',{ :style => @user.w_cell ==
'Click to
Edit' ? 'color:red' : ''}, :cols=>20%>

I think you'd be a lot better off just sticking that in a helper
function.

Fred