I’d like to create a label tag that has a special css class if has
So Ideally, I’d like:
<%= label(‘object’,‘property’,‘Property’) %>
And if there are errors on object.property, generate this:
First of all, is there an easy way to do this?
I’m assuming there isn’t, so I thought it shouldn’t be too hard to
own helped to do this, but after taking a look at the source for the
tags (text_field, check_box, etc.), it’s not clear how to do it. Any