<%= form_remote_tag :url => { :action => 'create', :id => @section.id }, :html => { :id => 'new-note-form' } %>
Name:
<%= text_field 'note', 'name' %>
Content:
<%= text_area 'note', 'content' %>
<%= hidden_field 'note', 'section_id', :value => @section.id %> <%= submit_tag "Add Note" %>
<%= end_form_tag %>