diff --git a/app/views/customers/index.html.erb b/app/views/customers/index.html.erb index eed562a..018889c 100644 --- a/app/views/customers/index.html.erb +++ b/app/views/customers/index.html.erb @@ -3,19 +3,17 @@ <%= form_tag(customers_path, :method => "get", id: "search-form") do %> <%= text_field_tag :search, params[:search], placeholder: "Search Customers" %> <%= submit_tag "Search" %> -<%= button_to "New Customer", new_customer_path, method: :get %> <% end %>
<% if @customers.present? %> - -
-<% @customers.each do |c| %> -
-
- <%= link_to c, customer_path(c.id) %> +
+ <% @customers.each do |c| %> +
+
+ <%= link_to c, customer_path(c.id) %> +
-
-<% end %> + <% end %>
<%= will_paginate @customers %> @@ -26,5 +24,5 @@ <% end %>
- Last Sync: <%= Qbo.last_sync %> + <%= Customer.count %> Customers - Last Sync: <%= Qbo.last_sync %>