# File ValidForm_html.rb, line 379 def field_tohtml(withValidation=true,indentLevel=0,&block) tabs = "\t"*indentLevel preCode = tabs + FIELD_WRAPPER_START << %{<select#{' multiple' if @chooseMultiple}#{hashes_toattributes({:id=>@id,:name=>@name || @id},@attributes)}#{validation_tohtml if withValidation}>\n} endCode = tabs << '</select>' << errors_tohtml << FIELD_WRAPPER_CLOSE << "\n" field_tohtml_withwrapper(withValidation,indentLevel,preCode,endCode,block) end