Create _search.erb

This commit is contained in:
2018-09-19 09:23:37 -04:00
committed by GitHub
parent b0a66aba0a
commit 5e4e3329c8

View File

@@ -0,0 +1,8 @@
<br/>
<%= form_tag(customers_path, :method => "get", id: "search-form") do %>
<%= text_field_tag :search, params[:search], placeholder: "Search Customers" %>
<%= submit_tag "Search" %>
<% end %>
<%= button_to "New Customer", new_customer_path, method: :get%>
<%= button_to "Sync", qbo_sync_path, method: :get%>
<br/>