From 260e9f3e4a67c2d47be8872e2921e684f0006b4f Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 19 Sep 2018 10:07:52 -0400 Subject: [PATCH] Update _list.html.erb --- app/views/vehicles/_list.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/vehicles/_list.html.erb b/app/views/vehicles/_list.html.erb index a1358df..6930783 100644 --- a/app/views/vehicles/_list.html.erb +++ b/app/views/vehicles/_list.html.erb @@ -21,6 +21,8 @@ <%= will_paginate @vehicles %> +

Matching <%= @vehicles.count %> Vehicles

+ <% else %>

There are no vehicles containing the term(s) <%= params[:search] %>.

<% end %>