<%= l(:field_type) %>: <%= f.select :type_id, collection_for_note_types_select, { :include_blank => true } %> <%= l(:label_date) %>: <%= f.text_field :created_on, :size => 15, :value => Date.current %><%= calendar_for "note_created_on" %>
<% @note.custom_field_values.each do |value| %><%= custom_field_tag_with_label :note, value %>
<% end -%> <% end %> <%= f.text_area :content, :rows => 6, :class => 'wiki-edit' %> <% if !ajax_form %> <%= file_field_tag 'note_attachments[1][file]', :size => 30, :id => nil %> <%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil %>