diff --git a/app/views/customers/index.html.erb b/app/views/customers/index.html.erb index ca66e75..86f95a3 100644 --- a/app/views/customers/index.html.erb +++ b/app/views/customers/index.html.erb @@ -1,5 +1,10 @@

Customers


+<%= form_tag(customers_path, :method => "get", id: "search-form") do %> +<%= text_field_tag :search, params[:search], placeholder: "Search Customers" %> +<%= submit_tag "Search" %> +<% end %> +
<% @customers.each do |c| %>