Skip to content

Commit

Permalink
Fixed singular wording on search results.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaplan committed Mar 19, 2009
1 parent 4f27f67 commit 82d7f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/search/index.html.erb
@@ -1,6 +1,6 @@
<div id="intro" class="grid_4">
<h2><%= image_tag 'icons/plus.png', :size => '25x24', :alt => '', :class => 'plus' %>Search Results</h2>
<p>There are <%= @search.size %> results for "<%= @query %>"</p>
<p>There <%= if @search.size == 1 then "is" else "are" end %> <%= @search.size %> <%= if @search.size == 1 then "result" else "results" end %> for "<%= @query %>"</p>
<div id="recommended">
<%#= render :partial => 'group_recommendations' %>
<%= render :partial => 'location_recommendations' %>
Expand Down

0 comments on commit 82d7f4b

Please sign in to comment.