<%=l(:label_add_note_plural)%>
<% remote_form_for(:note, @note, :url => add_note_url(note_source, @project), :html => {:id => "add_note_form"}) do |f| %>
<%= render :partial => 'notes/form', :locals => {:f => f, :ajax_form => true} %>
<%= submit_tag l(:button_add_note) %>
<% end %>
<%= link_to l(:label_note_show_extras), {}, :onclick => "Element.toggle('add_html_node'); Element.toggle('add_ajax_node'); $('add_html_node').down('.wiki-edit').value = $('add_ajax_node').down('.wiki-edit').value; return false;", :id => 'show_note_form_extras' %>
<% form_for(:note, @note, :url => add_note_url(note_source, @project), :html => {:multipart => true, :id => "add_note_form"}) do |f| %>
<%= render :partial => 'notes/form', :locals => {:f => f, :ajax_form => false} %>
<%= submit_tag l(:button_add_note) %>
<% end %>
<%= link_to l(:label_note_hide_extras), {}, :onclick => "Element.toggle('add_html_node'); Element.toggle('add_ajax_node'); $('add_ajax_node').down('.wiki-edit').value = $('add_html_node').down('.wiki-edit').value; return false;", :id => 'hide_note_form_extras' %>