search for: pattern_for_editing_model

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

2006 May 07
2
label tag with errors?
I''d like to create a label tag that has a special css class if has errors. So Ideally, I''d like: <%= label(''object'',''property'',''Property'') %> To generate: <label for="object_property">Property</label> And if there are errors on object.property, generate this: <label