search for: _auto_complete_for_team_name

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

2006 Jul 11
0
text_field_with_auto_complete problem
...ams = Team.find(:all, :conditions => [''LOWER(name) LIKE ? or LOWER(short_name) like ?'', search, search], :order => ''name ASC'') end render :partial => ''auto_complete_for_team_name'' end and in the partial (_auto_complete_for_team_name.rhtml), I have: <ul> <% for team in @teams do -%> <li> <div class="first_line"><%=h team.name.camelcase -%></div> <div class="second_line"><%=h team.city.name.camelcase -%> - <%=h team.city.country.name.camel...