<% section_id = "notes" if section_id.blank? all_note_types ||= nil %> <%= render_aspace_partial :partial => "notes/template", :locals => { :all_note_types => all_note_types, :form_note_type => section_id } %>
">

<%= wrap_with_tooltip(I18n.t("note._plural"), "#{form.i18n_for('notes')}_tooltip", "subrecord-form-heading-label") %> <%= link_to_help :topic => "#{form['jsonmodel_type']}_notes" %>

<%= form.list_for(form["notes"], "notes[]") do |note| %> <% form.emit_template(note["jsonmodel_type"]) %> <% end %>