From 4503150b02371b9a115f6e367d251558d9bdd536 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 5 Aug 2016 00:37:29 -0400 Subject: [PATCH] Removed hiding of notes --- app/views/vehicles/_form.html.erb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/views/vehicles/_form.html.erb b/app/views/vehicles/_form.html.erb index 1b60725..2599b7d 100644 --- a/app/views/vehicles/_form.html.erb +++ b/app/views/vehicles/_form.html.erb @@ -42,17 +42,14 @@ 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') %> <%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@vehicle.new_record? ? nil : 'display:none') do %> - <%= f.text_area :notes, + <%= f.text_area :notes, :cols => 60, :rows => 10, - :accesskey => accesskey(:edit), - :class => 'wiki-edit', :no_label => true %> <% end %>

- <%= wikitoolbar_for 'issue_description' %>