Fixed displaying of notes

This commit is contained in:
2026-01-20 21:40:17 -05:00
parent 72ec89292f
commit f741ce5dc9
4 changed files with 27 additions and 5 deletions

View File

@@ -36,8 +36,7 @@
<%=t(:field_notes)%>:
<div class="input">
<p>
<%= 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,