Editing customer

<% form_for(@customer) do |f| %> <%= f.error_messages %>

<%= f.label :name %>
<%= f.text_field :name %>

<%= f.label :phone %>
<%= f.text_field :phone %>

<%= f.submit 'Update' %>

<% end %> <%= link_to 'Show', @customer %> | <%= link_to 'Back', customers_path %>