Update index.html.erb

This commit is contained in:
2017-04-04 22:29:06 -04:00
committed by GitHub
parent 77c7f0b6fe
commit 429fb920fb

View File

@@ -4,7 +4,7 @@
<%= text_field_tag :search, params[:search], placeholder: "Search Customers" %>
<%= submit_tag "Search" %>
<% end %>
<%= button_to("New Customer", new_customer_path, method: :get) if User.current.allowed_to?(:add_customers)%>
<%= button_to "New Customer", new_customer_path, method: :get%>
<br/>
<% if @customers.present? %>
<br/>