%= breadcrumb link_to(@note.source.name, note_source_url(@note.source)) %> <%= render :partial => 'note_header', :object => @note %>
<%= f.select :type_id, collection_for_note_types_select, { :include_blank => true } %> |
<%= f.text_field :created_on, :size => 15 %><%= calendar_for "note_created_on" %> |
<%= custom_field_tag_with_label :note, value %>
<% end -%><%= f.text_area :content , :cols => 80, :rows => 8, :class => 'wiki-edit', :label=>l(:field_contact_background) %> <%= wikitoolbar_for 'note_content' %>
<%= link_to_attachments @note, :author => false %>
<%= file_field_tag 'note_attachments[1][file]', :size => 30, :id => nil %>
<%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil %>
<%= link_to l(:label_add_another_file), '#', :onclick => 'addNoteFileField(); return false;' %>
(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)