+<h1>Search Results for '<%= @query[0].to_s %>'</h1>
+
+<% if @merchandises.empty? %>
+<p>Sorry, there were no results</p>
+<% else %>
+<table border="1">
+ <tr>
+ <th>Merchandise ID</th>
+ <th>Title</th>
+ <th>Quantity Remaining</th>
+ <th>Price Per Unit</th>
+ </tr>
+
+<% for merchandise in @merchandises %>
+ <tr>
+ <td><%=h merchandise.id %></td>
+ <td><%=link_to merchandise.title.to_s, :action => 'show', :id => merchandise %></td>
+ <td><%=h merchandise.quantity %></td>
+ <td><%=h number_to_currency(merchandise.price) %></td>
+ <td><%= link_to 'Edit', :action => 'edit', :id => merchandise %></td>
+ <td><%= link_to 'Remove', { :action => 'destroy', :id => merchandise }, :confirm => 'Are you sure?', :method => :post %></td>
+ </tr>
+<% end %>
+</table>
+<% end %>