Update _form.html.erb

This commit is contained in:
2016-05-11 11:19:24 -04:00
parent 3925337df0
commit eaf2d9785c

View File

@@ -37,7 +37,7 @@
<div class="input"> <div class="input">
<p> <p>
<%= 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 @vehicle.new_record? %>
<%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@vehicle.new_record? ? nil : 'display:none') do %> <%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@customer.new_record? ? nil : 'display:none') do %>
<%= f.text_area :notes, <%= f.text_area :notes,
:cols => 60, :cols => 60,
:rows => 10, :rows => 10,