def crushyfield(col, o={})
      return '' if (o[:type]==:none || model.crushyform_schema[col][:type]==:none)
      field_name = o[:name] || model.crushyform_schema[col][:name] || col.to_s.sub(/_id$/, '').tr('_', ' ').capitalize
      error_list = errors.on(col).map{|e|" - #{e}"} if !errors.on(col).nil?
      "<p class='crushyfield %s'><label for='%s'>%s</label><span class='crushyfield-error-list'>%s</span><br />\n%s</p>\n" % [error_list&&'crushyfield-error', crushyid_for(col), field_name, error_list, crushyinput(col, o)]
    end
def crushyfield(col, o={})
      return '' if (o[:type]==:none || model.crushyform_schema[col][:type]==:none)
      field_name = o[:name] || model.crushyform_schema[col][:name] || col.to_s.sub(/_id$/, '').tr('_', ' ').capitalize
      error_list = errors.on(col).map{|e|" - #{e}"} if !errors.on(col).nil?
      "<p class='crushyfield %s'><label for='%s'>%s</label><span class='crushyfield-error-list'>%s</span><br />\n%s</p>\n" % [error_list&&'crushyfield-error', crushyid_for(col), field_name, error_list, crushyinput(col, o)]
    end
crushyfield is crushyinput but with label+error