From f741ce5dc934de386676ed336fbf109b3fb5f40c Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 20 Jan 2026 21:40:17 -0500 Subject: [PATCH] Fixed displaying of notes --- app/views/customers/_details.html.erb | 13 ++++++++++++- app/views/customers/_form.html.erb | 3 +-- app/views/issues/_show_details.html.erb | 6 +++++- app/views/vehicles/_details.html.erb | 10 +++++++++- 4 files changed, 27 insertions(+), 5 deletions(-) diff --git a/app/views/customers/_details.html.erb b/app/views/customers/_details.html.erb index a15761b..41a8738 100644 --- a/app/views/customers/_details.html.erb +++ b/app/views/customers/_details.html.erb @@ -38,8 +38,19 @@ <%=t(:field_notes)%> - <%= customer.notes %> + +
+          <%= customer.notes %>
+        
+ + + +
diff --git a/app/views/customers/_form.html.erb b/app/views/customers/_form.html.erb index 56a69f2..3314742 100644 --- a/app/views/customers/_form.html.erb +++ b/app/views/customers/_form.html.erb @@ -36,8 +36,7 @@ <%=t(:field_notes)%>:

- <%= 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 %> + <%= content_tag 'span', :id => "issue_description_and_toolbar" do %> <%= f.text_area :notes, :cols => 60, :rows => 10, diff --git a/app/views/issues/_show_details.html.erb b/app/views/issues/_show_details.html.erb index be53694..0b053e9 100644 --- a/app/views/issues/_show_details.html.erb +++ b/app/views/issues/_show_details.html.erb @@ -29,7 +29,11 @@

<%=t(:field_notes)%>:
-
<%=notes%>
+
+
+          <%=notes%>
+        
+
diff --git a/app/views/vehicles/_details.html.erb b/app/views/vehicles/_details.html.erb index b8293e1..d5aaa0a 100644 --- a/app/views/vehicles/_details.html.erb +++ b/app/views/vehicles/_details.html.erb @@ -32,9 +32,17 @@

<%=t(:field_notes)%>:

- <%= vehicle.notes %> +
+          <%= vehicle.notes %>
+        
+ +