From b2e1d649ff9afe08fce431f99783727cd58a5e07 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 11 May 2016 11:20:42 -0400 Subject: [PATCH] Update _form.html.erb --- app/views/customers/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/customers/_form.html.erb b/app/views/customers/_form.html.erb index 9a27b1e..d70fe97 100644 --- a/app/views/customers/_form.html.erb +++ b/app/views/customers/_form.html.erb @@ -36,7 +36,7 @@ Notes:

- <%= link_to_function content_tag(:span, l(:button_edit), :class => 'icon icon-edit'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @vehicle.new_record? %> + <%= link_to_function content_tag(:span, l(:button_edit), :class => 'icon icon-edit'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @customer.new_record? %> <%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@customer.new_record? ? nil : 'display:none') do %> <%= f.text_area :notes, :cols => 60,