%= breadcrumb link_to(@note.source.name, note_source_url(@note.source)) %> <%= render :partial => 'note_header', :object => @note %> <%= form_for @note, :url => {:controller => "notes", :action => 'update', :project_id => @project, :id => @note}, :html => { :multipart => true} do |f| %>
<%= f.select :type_id, collection_for_note_types_select %> |
<%= f.text_field :created_on, :value => @note.created_on.to_date, :size => 15 %><%= f.text_field :note_time, :value => (@note.created_on || Time.now).to_s(:time), :size => 5 %><%= calendar_for "note_created_on" %> |
<%= f.text_area :content , :cols => 80, :rows => 8, :class => 'wiki-edit', :label=>l(:field_contact_background) %> <%= wikitoolbar_for 'note_content' %>
<% if @note.custom_field_values.any? %> <% end %> <%= link_to_attachments @note, :author => false %>