note rendering updated for rails-based notes