Michael Schuerig
2005-Apr-23 23:40 UTC
collection_select: generated select tag not marked on error
When a select tag generated by collection_select has a validation error the tag isn''t marked in the page. That is, the generated tag looks like this, say, <select id="obj_attrib_id" name="obj[attrib_id]"> <option value="1">Option 1</option> <option value="2">Option 1</option> </select> Whereas is should, IMHO, look like this <div class="fieldWithErrors"> <select id="obj_attrib_id" name="obj[attrib_id]"> <option value="1">Option 1</option> <option value="2">Option 1</option> </select> </div> Now, I''m wondering, is this an oversight or is it intentional? Michael -- Michael Schuerig This is not a false alarm mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org This is not a test http://www.schuerig.de/michael/ --Rush, Red Tide