def note_list_tag(object)
    return nil unless object.has_notes? && object.notes.any?
    content_tag(:h3, 'Notes') +
      content_tag(:ul, class: 'annotations__note_list') do
        object.notes.collect{|a| content_tag(:li, note_annotation_tag(a)) }.join.html_safe