Update index.html.erb

This commit is contained in:
2017-04-04 22:23:33 -04:00
committed by GitHub
parent fce3931858
commit e4d770c272

View File

@@ -3,8 +3,8 @@
<%= form_tag(customers_path, :method => "get", id: "search-form") do %> <%= form_tag(customers_path, :method => "get", id: "search-form") do %>
<%= text_field_tag :search, params[:search], placeholder: "Search Customers" %> <%= text_field_tag :search, params[:search], placeholder: "Search Customers" %>
<%= submit_tag "Search" %> <%= submit_tag "Search" %>
<%= button_to "New Customer", new_customer_path, method: :get%>
<% end %> <% end %>
<%= button_to "New Customer", new_customer_path, method: :get%>
<br/> <br/>
<% if @customers.present? %> <% if @customers.present? %>
<br/> <br/>