diff --git a/app/views/customers/_form.html.erb b/app/views/customers/_form.html.erb index 13823fe..a1f0dfe 100644 --- a/app/views/customers/_form.html.erb +++ b/app/views/customers/_form.html.erb @@ -7,7 +7,7 @@
+ <%= 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 %> + <%= f.text_area :notes, + :cols => 60, + :rows => 10, + :accesskey => accesskey(:edit), + :class => 'wiki-edit', + :no_label => true %> + <% end %> +
+ <%= wikitoolbar_for 'issue_description' %>